mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
tag-release: a simple script to tag the repository for release
This commit is contained in:
parent
2a15e69ebe
commit
d0d760e4e3
13
misc/tag-release
Executable file
13
misc/tag-release
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
version="$1"
|
||||
if [ -z "$version" ]; then
|
||||
echo "Usage: $0 version" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "$version" > version
|
||||
git add version
|
||||
git commit -m "NASM $version"
|
||||
git tag -a -m "NASM $version" nasm-"$version"
|
||||
git push
|
||||
git push --tags
|
Loading…
Reference in New Issue
Block a user