Index: trunk/extensions/HeaderTabs/Makefile |
— | — | @@ -1,29 +0,0 @@ |
2 | | -all: |
3 | | - |
4 | | -rel: release |
5 | | -release: |
6 | | -ifndef v |
7 | | - # Must specify version as 'v' param |
8 | | - # |
9 | | - # make rel v=1.1.1 |
10 | | - # |
11 | | -else |
12 | | - # |
13 | | - # Tagging it with release tag |
14 | | - # |
15 | | - svn copy . svn+ssh://sergeychernyshev@svn.wikimedia.org/svnroot/mediawiki/tags/extensions/HeaderTabs/REL_${subst .,_,${v}}/ |
16 | | - # |
17 | | - # Creating release tarball and zip |
18 | | - # |
19 | | - svn export http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/HeaderTabs/REL_${subst .,_,${v}}/ HeaderTabs |
20 | | - # Not including Makefile into the package since it's not doing anything but release packaging |
21 | | - rm HeaderTabs/Makefile |
22 | | - tar -c HeaderTabs |gzip > HeaderTabs_${v}.tgz |
23 | | - zip -r HeaderTabs_${v}.zip HeaderTabs |
24 | | - rm -rf HeaderTabs |
25 | | - |
26 | | - # upload to Google Code repository (need account with enough permissions) |
27 | | - googlecode/googlecode_upload.py -s "MediaWiki HeaderTabs Extension v${v} (tarball)" -p mediawiki-header-tabs -l "Featured,Type-Archive,OpSys-All" HeaderTabs_${v}.tgz |
28 | | - googlecode/googlecode_upload.py -s "MediaWiki HeaderTabs Extension v${v} (zip)" -p mediawiki-header-tabs -l "Featured,Type-Archive,OpSys-All" HeaderTabs_${v}.zip |
29 | | - rm HeaderTabs_${v}.tgz HeaderTabs_${v}.zip |
30 | | -endif |