X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Frelease%2Fmakebacularel;h=39c4334bbfc1e1ed2b2edd1bee79135a53ec1459;hb=3814a4f2f6804facf64984d5fceee95716027bdc;hp=e14729f256f20a3fd88de69301f6a14950947d4a;hpb=d1cfa762a333e159b88a3eb49d1bf228770cf9d8;p=bacula%2Fbacula diff --git a/bacula/release/makebacularel b/bacula/release/makebacularel index e14729f256..39c4334bbf 100755 --- a/bacula/release/makebacularel +++ b/bacula/release/makebacularel @@ -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