Skip to content
This repository
Newer
Older
100644 16 lines (16 sloc) 0.414 kb
e5825c4b » oetting
2008-05-02 Added a shell script that automates packaging releases
1 #!/bin/sh
2 if [ "$1" == "" ]
3 then
4 echo "Usage: package.sh <tag>"
5 else
6 mkdir package_tmp
7 rm webgrind-$1.zip
8 cd package_tmp
9 svn export https://webgrind.googlecode.com/svn/tags/$1 webgrind
10 svn export https://webgrind.googlecode.com/svn/wiki webgrind/docs
11 for i in webgrind/docs/*.wiki; do mv "$i" "${i%.wiki}.txt"; done
12 rm webgrind/package.sh
13 zip -r ../webgrind-$1.zip webgrind
14 cd ..
15 rm -rf package_tmp
16 fi
Something went wrong with that request. Please try again.