tag-release: a simple script to tag the repository for release

This commit is contained in:
H. Peter Anvin 2007-11-19 23:09:24 -08:00
parent 2a15e69ebe
commit d0d760e4e3

13
misc/tag-release Executable file
View 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