release script: handle stricter CLI parsing for "git tag"

The current version of "git tag" seems to demand that the options
precede arguments; the name is an argument, but the -m option and its
parameter is an option.
This commit is contained in:
H. Peter Anvin 2007-09-22 16:38:25 -07:00
parent 9b8f0ad113
commit 7b45fbb127

View File

@ -27,7 +27,7 @@ if [ x`cat version` != x"${version}" ]; then
git update-index version
git commit -m "Version ${version}" -- version
fi
git tag -f "nasm-${version}" -m "NASM version ${version}"
git tag -m "NASM version ${version}" -f "nasm-${version}"
cd "$WHERE"
rm -rf nasm-release.*