]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/makeall
Tweak release scripts
[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 export push=yes
12 export updatepo=yes
13
14 ./makeclean
15 ./makebacularel $bacula $branch
16 ./makedocsrel $bacula $docs $branch
17 ./makerescuerel $rescue $branch
18 ./makewinrel $bacula $branch | tee win$$.log
19
20 grep -i warning win$$.log >/dev/null
21 if [ $? -eq 0 ] ; then
22   echo " "
23   echo "Warnings in win$$.log"
24   exit 1
25 fi
26 grep -i error win$$.log >/dev/null
27 if [ $? -eq 0 ] ; then
28   echo " "
29   echo "Errors in win$$.log"
30   exit 1
31 fi
32 rm -f win$$.log