Rename getPath to getWebPath, which is more accurate.
[htmlpurifier-web.git] / releases / build.sh
blob73bf6757c9c7a1f8f8c6a3e4d199597aea980cae
1 #!/bin/bash
3 VERSION="$1"
5 svn export --force \
6 "http://hp.jpsband.org/svnroot/htmlpurifier/tags/$VERSION" \
7 "htmlpurifier-$VERSION"
8 tar -cvf - "htmlpurifier-$VERSION" | gzip -c > "htmlpurifier-$VERSION.tar.gz"
9 rm -R "htmlpurifier-$VERSION"