]> git.sur5r.net Git - bacula/bacula/blob - bacula/release/makeall
We no longer build Win32
[bacula/bacula] / bacula / release / makeall
1 #!/bin/sh
2 #
3 # Make full release
4 #
5
6 # Source config
7 . ./config
8
9 echo "Creating release version: ${ver}"
10
11 cd $cwd
12
13 ./makebacularel $bacula $remote $branch $ver
14 ./makedocsrel $bacula $docs $remote $branch $ver
15 #./makewinrel $bacula $remote $branch $ver | tee win$$.log
16
17 # strip ./configure strerror from Win log file
18 sed -i -e 's%strerror%%' win$$.log
19 # check for warning and error messages
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