2 # Configuration for release scripts
5 # Set to the Branch you are working on
9 # set reltype to release or beta -- for upload and setting DEVELOPER
16 bacula=${bacula:-${HOME}/bacula/k}
17 docs=${docs:-${HOME}/bacula/docs}
18 gpgkey=${gpgkey:-bacula}
21 # Set the following to your remote name. By default it is origin.
22 remote=${remote:-origin}
26 # Note, you will probably want to set updatepo=no if you
27 # run this script multiple times for a given release.
34 echo "Directory: $1 does not exist"
37 current=`git branch | awk '/*/ { print $2 }'`
38 git checkout ${branch}
39 git pull ${remote} ${branch}
41 echo "Checkout of branch ${branch} failed."
44 ver=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' src/version.h`
45 lsmdate=`sed -n -e 's/^.*LSMDATE.*"\(.*\)"$/\1/p' src/version.h`
47 git checkout ${current}