From: Eric Bollengier Date: Thu, 6 May 2010 19:18:04 +0000 (+0200) Subject: tweak release script X-Git-Tag: Release-7.0.0~1823 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d8cf5131f7af5a57f3894af3e3c5c85c7d3ce09;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