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