summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2012-02-25 22:02:08 -0800
committerH. Peter Anvin <hpa@zytor.com>2012-02-25 22:02:08 -0800
commitc5473121afc4025669ef4b86b99bdbfc7a46c44d (patch)
treecac35cd9e190d7ba9398b998a4ce1fcb70d1d18a /misc
parent75fa99713c360ef031c81200099f1a2c6bd90d01 (diff)
downloadnasm-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>
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/tag-release8
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