From: Eric Bollengier Date: Thu, 21 Jan 2010 17:57:57 +0000 (+0100) Subject: Tweak release script, add push=yes/no to update origin X-Git-Tag: Release-5.0.0~24 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6aae889e06fed8a081078d7686af49de9fb225d;p=bacula%2Fbacula Tweak release script, add push=yes/no to update origin --- diff --git a/bacula/release/makeall b/bacula/release/makeall index aea044cfcc..5721d5453e 100755 --- a/bacula/release/makeall +++ b/bacula/release/makeall @@ -8,6 +8,7 @@ branch=5.0.0 bacula=/home/kern/bacula/k docs=/home/kern/bacula/docs rescue=/home/kern/bacula/rescue +push=yes ./makeclean ./makebacularel $bacula $branch diff --git a/bacula/release/makebacularel b/bacula/release/makebacularel index eecec64404..90da20b3cb 100755 --- a/bacula/release/makebacularel +++ b/bacula/release/makebacularel @@ -96,6 +96,8 @@ cd .. ./sign $base_pkg-gui-$ver.tar.gz ./sign $base_pkg-regress-$ver.tar.gz -cd ${src} -git push -git push --tags +if [ a$push != ano ]; then + cd ${src} + git push + git push --tags +fi diff --git a/bacula/release/makedocsrel b/bacula/release/makedocsrel index a3a0bcf85d..a8702a16fe 100755 --- a/bacula/release/makedocsrel +++ b/bacula/release/makedocsrel @@ -104,6 +104,8 @@ bzip2 $base_pkg-$ver.tar ./sign $base_pkg-$ver.tar.bz2 ls -l $base_pkg-$ver.tar.* -cd ${src} -git push -git push --tags +if [ a$push != ano ]; then + cd ${src} + git push + git push --tags +fi diff --git a/bacula/release/makerescuerel b/bacula/release/makerescuerel index 97cbfd0e0e..789b36c333 100755 --- a/bacula/release/makerescuerel +++ b/bacula/release/makerescuerel @@ -72,6 +72,8 @@ cd ${cwd} ./sign $base_pkg-$ver.tar.gz ls -l $base_pkg-$ver.tar.* -cd ${src} -git push -git push --tags +if [ a$push != ano ]; then + cd ${src} + git push + git push --tags +fi