]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/release/makebacularel
Fix ActionOnPurge with a relabel command
[bacula/bacula] / bacula / release / makebacularel
index e14729f256f20a3fd88de69301f6a14950947d4a..39c4334bbfc1e1ed2b2edd1bee79135a53ec1459 100755 (executable)
@@ -54,14 +54,16 @@ if [ $reltype != "beta" ] ; then
    rm -f 1
    cd ..
 fi
-./configure --enable-client-only
-cd po
-make update-po
-cd ${src}   
-git commit -am "Final po changes for ${fulltag}"
+if [ a$updatepo != ano ]; then
+   ./configure --enable-client-only
+   cd po
+   make update-po
+   cd ${src}   
+   git commit -am "Final po changes for ${fulltag}"
+fi
 git tag -d ${fulltag}
 echo "Creating new tag -- $fulltag"
-git tag $fulltag -m "Create tag $fulltag"
+git tag $fulltag
 if [ $? != 0 ] ; then
   echo " "
   echo "Non-zero return status from Git"
@@ -96,6 +98,8 @@ cd ..
 ./sign $base_pkg-gui-$ver.tar.gz
 ./sign $base_pkg-regress-$ver.tar.gz
 
-echo " "
-echo "If everything is OK, don't forget to push $src tags to the repo"
-echo " "
+if [ a$push != ano ]; then
+   cd ${src}
+   git push origin $branch
+   git push origin tag $fulltag
+fi