Newer CodeIgniter plugin
[htmlpurifier-web.git] / releases / build-all.sh
blob0a23d594487ddac99e42152e83cd43de220bb83e
1 #!/bin/bash
2 if [ $# -ne 2 ]
3 then
4 echo "Usage: ./build-all.sh repo version"
5 exit
6 fi
7 REPO=$1
8 VERSION=$2
9 git clone -n "$REPO" htmlpurifier-tmp
10 ./build.sh tar "$VERSION" htmlpurifier-tmp
11 ./build.sh zip "$VERSION" htmlpurifier-tmp
12 rm -rf htmlpurifier-tmp