Index: trunk/extensions/Widgets/Makefile |
— | — | @@ -15,11 +15,16 @@ |
16 | 16 | # |
17 | 17 | # Creating release tarball and zip |
18 | 18 | # |
19 | | - svn export . Widgets |
| 19 | + svn export http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Widgets/REL_${subst .,_,${v}}/ Widgets |
20 | 20 | svn export smarty Widgets/smarty |
21 | 21 | # Not including Makefile into the package since it's not doing anything but release packaging |
22 | 22 | rm Widgets/Makefile |
23 | 23 | tar -c Widgets |gzip > Widgets_${v}.tgz |
24 | 24 | zip -r Widgets_${v}.zip Widgets |
25 | 25 | rm -rf Widgets |
| 26 | + |
| 27 | + # upload to Google Code repository (need account with enough permissions) |
| 28 | + googlecode/googlecode_upload.py -s "MediaWiki Widgets Extension v${v} (tarball)" -p mediawiki-widgets -l "Featured,Type-Archive,OpSys-All" Widgets_${v}.tgz |
| 29 | + googlecode/googlecode_upload.py -s "MediaWiki Widgets Extension v${v} (zip)" -p mediawiki-widgets -l "Featured,Type-Archive,OpSys-All" Widgets_${v}.zip |
| 30 | + rm Widgets_${v}.tgz Widgets_${v}.zip |
26 | 31 | endif |