tag-release: a simple script to tag the repository for release
[nasm/avx512.git] / misc / tag-release
blobefaa4c32abffacd9e0dba50f89ad1f4f575d5507
1 #!/bin/sh
2 version="$1"
3 if [ -z "$version" ]; then
4 echo "Usage: $0 version" 1>&2
5 exit 1
6 fi
8 echo "$version" > version
9 git add version
10 git commit -m "NASM $version"
11 git tag -a -m "NASM $version" nasm-"$version"
12 git push
13 git push --tags