mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-03-13 17:57:12 +08:00
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>
This commit is contained in:
parent
75fa99713c
commit
c5473121af
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user