]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak release scripts
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 27 Apr 2010 19:35:25 +0000 (21:35 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 27 Apr 2010 19:35:25 +0000 (21:35 +0200)
bacula/release/makeclean
bacula/release/makerescuerel
bacula/release/makewinrel
bacula/src/qt-console/make-win32

index ec44b8b0029a7caf30fe9482fbff8246c128a4a1..9ed063381db9210f1da454686efeb3e32b4c2f1d 100755 (executable)
@@ -1,2 +1,2 @@
 #!/bin/sh
-rm -rf bacula-* winbacula* win64bacula*
+rm -rf bacula-* win32bacula* win64bacula*
index fc34b4a45522907eeb392321a3f9d94580591fb5..2f8add903b4e3378eb1535c55512b7eddd76e5a0 100755 (executable)
@@ -32,7 +32,6 @@ if [ $?  -ne 0 ]; then
    exit 1
 fi
 
-ver=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' version.h`
 src=`pwd` 
 git checkout ${branch}
 if [ $? -ne 0 ]; then
@@ -40,6 +39,7 @@ if [ $? -ne 0 ]; then
    exit 1
 fi
 git pull origin ${branch}
+ver=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' version.h`
 fulltag=$tagbase$ver
 echo " "
 echo "Making $reltype for $base_pkg-$ver ..."
index b119efc10bafdfb7ea97aca3a904fb85ab2d44f3..ad29d78d66160aeadbad6a67f0cc5f133f7a3a84 100755 (executable)
@@ -30,7 +30,6 @@ if [ $?  -ne 0 ]; then
    echo "Directory: $1 does not exist"
    exit 1
 fi
-ver=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' src/version.h`
 src=`pwd` 
 git checkout ${branch}
 if [ $? -ne 0 ]; then
@@ -38,6 +37,7 @@ if [ $? -ne 0 ]; then
    exit 1
 fi
 git pull origin ${branch}
+ver=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' src/version.h`
 fulltag=$tagbase$ver
 echo " "
 echo "Making $reltype for $base_pkg-$ver ..."
@@ -46,16 +46,16 @@ echo "OK?  ctl-c to stop"
 read a
 
 cd src/win32
-rm -f release32/winbacula-$ver.exe
+rm -f release32/win32bacula-$ver.exe
 rm -f release64/win64bacula-$ver.exe
 make clean
 ./makeall
-cp release32/winbacula-$ver.exe ${cwd}
+cp release32/win32bacula-$ver.exe ${cwd}
 cp release64/win64bacula-$ver.exe ${cwd}
 git checkout master
 cd ${cwd}
 rm -f *.exe.sig
-./sign winbacula-$ver.exe
+./sign win32bacula-$ver.exe
 ./sign win64bacula-$ver.exe
 ls -l win*.exe*
 
index b75ff1723b87be0e8052bedbbacccccc9aac3fbf..3360e3401febf16add87b55121f6510e0b4608bb 100755 (executable)
@@ -12,7 +12,7 @@ if test -e ../config.h.orig ; then
    mv -f ../config.h.orig ../config.h
 fi
 if test -d ../win32/release32; then
-   cp -f debug/bat.exe ../win32/release32
+   cp -f release/bat.exe ../win32/release32
    cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtGui4.dll ../win32/release32
    cp -f ${DEPKGS}/depkgs-mingw32/lib/qt/QtCore4.dll ../win32/release32
    rm -rf ../win32/release32/help