- Fix bug in page validation that would result in directories sharing prefixes being...
[htmlpurifier-web.git] / releases / build.sh
blob1adfeacb40cbd807ff152abfa13f60c9967951ed
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"
10 chmod 777 "htmlpurifier-$VERSION.tar.gz"