Update release procedures: more automation!
[htmlpurifier-web.git] / releases / build.sh
blob8148c68785592f07ccf2ec0fd9d66abefc49bf37
1 #!/bin/bash
3 VERSION="$1"
5 svn export --force \
6 "http://htmlpurifier.org/svnroot/htmlpurifier/tags/$VERSION" \
7 "htmlpurifier-$VERSION"
8 tar -cvf - "htmlpurifier-$VERSION" | gzip -c > "htmlpurifier-$VERSION.tar.gz"
9 rm -R "htmlpurifier-$VERSION"