release: tag on HEAD not master

This commit is contained in:
Michael Schurter
2019-10-10 11:49:59 -07:00
parent f1d576357e
commit 45d74c40f4

View File

@@ -52,7 +52,7 @@ cd "${DIR}"
if [ -z "${NOTAG}" ]; then
echo "==> Tagging..."
git commit --allow-empty -a --gpg-sign=${gpg_signing_key} -m "Release v$VERSION"
git tag -a -m "Version $VERSION" -s -u ${gpg_signing_key} "v${VERSION}" master
git tag -a -m "Version $VERSION" -s -u ${gpg_signing_key} "v${VERSION}" HEAD
fi
# Zip all the files