]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/release/makerescuerel
Require correct Qt version to build bat
[bacula/bacula] / bacula / release / makerescuerel
index bb8c14d8e744da9eead2b62e88c251a32c5d1729..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 ..."
@@ -77,5 +77,5 @@ ls -l $base_pkg-$ver.tar.*
 if [ a$push != ano ]; then
    cd ${src}
    git push origin $branch
-   git push tag $fulltag
+   git push origin tag $fulltag
 fi