From: Eric Bollengier Date: Thu, 6 May 2010 19:18:04 +0000 (+0200) Subject: tweak release script X-Git-Tag: Release-5.2.1~1358 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0b62fc2c3c332bdfaa41259cb8674e44c4340198;p=bacula%2Fbacula tweak release script --- diff --git a/bacula/release/makeall b/bacula/release/makeall index 37ef4b5438..69ef215e27 100755 --- a/bacula/release/makeall +++ b/bacula/release/makeall @@ -2,15 +2,16 @@ # # Make full release # -branch=5.0.0 -# # Bacula git repos -bacula=/home/kern/bacula/k -docs=/home/kern/bacula/docs -rescue=/home/kern/bacula/rescue +bacula=${bacula:-/home/kern/bacula/k} +docs=${docs:-/home/kern/bacula/docs} +rescue=${rescue:-/home/kern/bacula/rescue} export push=yes export updatepo=yes +current=$(cd $bacula ; git branch | awk '/*/ { print $2 }') +branch=${1:-$current} + ./makeclean ./makebacularel $bacula $branch ./makedocsrel $bacula $docs $branch