]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak release script, add push=yes/no to update origin
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 21 Jan 2010 17:57:57 +0000 (18:57 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 21 Jan 2010 18:00:38 +0000 (19:00 +0100)
bacula/release/makeall
bacula/release/makebacularel
bacula/release/makedocsrel
bacula/release/makerescuerel

index aea044cfcca4e16327358497196db8ca3e2d80b9..5721d5453ebfce664161945bcacdc940fd5dd0fe 100755 (executable)
@@ -8,6 +8,7 @@ branch=5.0.0
 bacula=/home/kern/bacula/k
 docs=/home/kern/bacula/docs
 rescue=/home/kern/bacula/rescue
+push=yes
 
 ./makeclean
 ./makebacularel $bacula $branch
index eecec644041ca5af310d318708d707b6648df7fe..90da20b3cba458444cee9d1829449e01e4b23116 100755 (executable)
@@ -96,6 +96,8 @@ cd ..
 ./sign $base_pkg-gui-$ver.tar.gz
 ./sign $base_pkg-regress-$ver.tar.gz
 
-cd ${src}
-git push
-git push --tags
+if [ a$push != ano ]; then
+   cd ${src}
+   git push
+   git push --tags
+fi
index a3a0bcf85dd2e7f4f8c38f880e61217d5a51fb95..a8702a16feef0ad5613f6d988640ed2099829f8c 100755 (executable)
@@ -104,6 +104,8 @@ bzip2 $base_pkg-$ver.tar
 ./sign $base_pkg-$ver.tar.bz2
 ls -l $base_pkg-$ver.tar.*
 
-cd ${src}
-git push
-git push --tags
+if [ a$push != ano ]; then
+   cd ${src}
+   git push
+   git push --tags
+fi
index 97cbfd0e0e609bc3dd8fd7c39f061abb2a849f58..789b36c33340d273c312097c6e7b121a6e81f76d 100755 (executable)
@@ -72,6 +72,8 @@ cd ${cwd}
 ./sign $base_pkg-$ver.tar.gz
 ls -l $base_pkg-$ver.tar.*
 
-cd ${src}
-git push
-git push --tags
+if [ a$push != ano ]; then
+   cd ${src}
+   git push
+   git push --tags
+fi