diff options
author | H. Peter Anvin <hpa@zytor.com> | 2016-02-21 21:07:11 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2016-02-21 21:07:11 -0800 |
commit | 1ac2c2f55fab3fed6ca5b95dbea5fe63dec6bc9e (patch) | |
tree | ddcf1205bf68480dfe6973c24709b2ac16d20abc /misc | |
parent | 021b10ca14984d8da244258ae2dbcbefe142aa82 (diff) | |
download | nasm-1ac2c2f55fab3fed6ca5b95dbea5fe63dec6bc9e.tar.gz |
misc/tag-release: default to --no-push
--no-push is by far the safer default.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'misc')
-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 331e51a9..9e3a0bd0 100755 --- a/misc/tag-release +++ b/misc/tag-release @@ -3,10 +3,9 @@ version="" repo="" branch="" -push=1 +push=0 -for opt in $* -do +for opt; do case "$opt" in --ver=*) version=`echo $opt | sed 's/[-a-zA-Z0-9]*=//'` @@ -17,6 +16,9 @@ do --branch=*) branch=`echo $opt | sed 's/[-a-zA-Z0-9]*=//'` ;; + --push) + push=1 + ;; --no-push) push=0 ;; |