]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak release scripts
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Jan 2010 07:56:28 +0000 (08:56 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 25 Jan 2010 07:56:28 +0000 (08:56 +0100)
bacula/release/makeall
bacula/release/makebacularel
bacula/release/makedocsrel
bacula/release/makerescuerel

index 5721d5453ebfce664161945bcacdc940fd5dd0fe..37ef4b543859c544bd25040e7f8a3fc810014a3f 100755 (executable)
@@ -8,7 +8,8 @@ branch=5.0.0
 bacula=/home/kern/bacula/k
 docs=/home/kern/bacula/docs
 rescue=/home/kern/bacula/rescue
-push=yes
+export push=yes
+export updatepo=yes
 
 ./makeclean
 ./makebacularel $bacula $branch
index 7f963c0013bf385101e259d75d64ce0715f3e473..39c4334bbfc1e1ed2b2edd1bee79135a53ec1459 100755 (executable)
@@ -54,11 +54,13 @@ if [ $reltype != "beta" ] ; then
    rm -f 1
    cd ..
 fi
-./configure --enable-client-only
-cd po
-make update-po
-cd ${src}   
-git commit -am "Final po changes for ${fulltag}"
+if [ a$updatepo != ano ]; then
+   ./configure --enable-client-only
+   cd po
+   make update-po
+   cd ${src}   
+   git commit -am "Final po changes for ${fulltag}"
+fi
 git tag -d ${fulltag}
 echo "Creating new tag -- $fulltag"
 git tag $fulltag
@@ -99,5 +101,5 @@ cd ..
 if [ a$push != ano ]; then
    cd ${src}
    git push origin $branch
-   git push tag $fulltag
+   git push origin tag $fulltag
 fi
index ff3cadb67556dd7d94fe6fce877573604c751579..1073c1f6ef3be111cc65497cbed68e55ff2cca2f 100755 (executable)
@@ -107,5 +107,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
index bb8c14d8e744da9eead2b62e88c251a32c5d1729..fc34b4a45522907eeb392321a3f9d94580591fb5 100755 (executable)
@@ -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