]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Exit with error when cannot push tags
authorKacper Kornet <draenog@pld-linux.org>
Tue, 12 Apr 2011 19:49:00 +0000 (20:49 +0100)
committerKacper Kornet <draenog@pld-linux.org>
Tue, 12 Apr 2011 19:49:00 +0000 (20:49 +0100)
builder.sh

index 8a9db7e1d781188aa5a2ef87c93bce1359652259..fbdecf8f44ba827ef44f45c928b87b5a72f625d9 100755 (executable)
@@ -1297,12 +1297,12 @@ tag_files() {
        if [ "$TAG_VERSION" = "yes" ]; then
                update_shell_title "tag sources: $TAGVER"
                git $OPTIONS $TAGVER || exit
-               git push $CVS_FORCE $REMOTE_PLD tag $TAGVER
+               git push $CVS_FORCE $REMOTE_PLD tag $TAGVER || Exit_error err_remote_problem $REMOTE_PLD
        fi
        if [ -n "$TAG" ]; then
                update_shell_title "tag sources: $TAG"
                git $OPTIONS $TAG $chunk || exit
-               git push $CVS_FORCE $REMOTE_PLD tag $TAG
+               git push $CVS_FORCE $REMOTE_PLD tag $TAG || Exit_error err_remote_problem $REMOTE_PLD
        fi
 }
 
This page took 0.037445 seconds and 4 git commands to generate.