diff options
author | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 22:02:08 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-02-25 22:02:08 -0800 |
commit | c5473121afc4025669ef4b86b99bdbfc7a46c44d (patch) | |
tree | cac35cd9e190d7ba9398b998a4ce1fcb70d1d18a | |
parent | 75fa99713c360ef031c81200099f1a2c6bd90d01 (diff) | |
download | nasm-c5473121afc4025669ef4b86b99bdbfc7a46c44d.tar.gz nasm-c5473121afc4025669ef4b86b99bdbfc7a46c44d.tar.bz2 nasm-c5473121afc4025669ef4b86b99bdbfc7a46c44d.zip |
tag-release: actually push data out unless --no-push is given
Rather than just printing a list of commands, do them, unless
--no-push is given...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rwxr-xr-x | misc/tag-release | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/tag-release b/misc/tag-release index c42bbd5..62e3eba 100755 --- a/misc/tag-release +++ b/misc/tag-release @@ -43,8 +43,10 @@ git commit -m "NASM $version" git tag -a -m "NASM $version" "$tag" if [ $push = 1 ]; then - echo "git push $repo $branch" - echo "git push $repo $tag" - echo "git push --tags $repo" + set -x + git push $repo $branch + git push $repo $tag + git push --tags $repo + set +x fi |