]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/makeall
Tweak release script, add push=yes/no to update origin
[bacula/bacula] / bacula / release / makeall
1 #!/bin/sh
2 #
3 # Make full release
4 #
5 branch=5.0.0
6 #
7 # Bacula git repos
8 bacula=/home/kern/bacula/k
9 docs=/home/kern/bacula/docs
10 rescue=/home/kern/bacula/rescue
11 push=yes
12
13 ./makeclean
14 ./makebacularel $bacula $branch
15 ./makedocsrel $bacula $docs $branch
16 ./makerescuerel $rescue $branch
17 ./makewinrel $bacula $branch | tee win$$.log
18
19 grep -i warning win$$.log >/dev/null
20 if [ $? -eq 0 ] ; then
21   echo " "
22   echo "Warnings in win$$.log"
23   exit 1
24 fi
25 grep -i error win$$.log >/dev/null
26 if [ $? -eq 0 ] ; then
27   echo " "
28   echo "Errors in win$$.log"
29   exit 1
30 fi
31 rm -f win$$.log