]> dev.renevier.net Git - syp.git/blobdiff - build.sh
bump version to 0.2
[syp.git] / build.sh
index 6cfb0692378d97e715f14ed72b5838ecec6ac250..a297b1b537ab72d4aff871284104e222d3b5da5b 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
 
 set -e
 
-PROJVERS=0.1
+PROJVERS=0.2
 PROJNAME=syp
 
 BUILDDIR=${1:-build}
@@ -66,3 +66,7 @@ cd $BUILDDIR
 tar -pczf ${PROJNAME}_${PROJVERS}.tar.gz ${PROJNAME}-${PROJVERS}
 zip -r ${PROJNAME}_${PROJVERS}.zip ${PROJNAME}-${PROJVERS}
 cd ..
+
+if [ -d .git/ ] && which git > /dev/null; then
+    git checkout openlayers
+fi