Merge pull request #6468 from hashicorp/release-fix-dist

release: tag on HEAD not master
This commit is contained in:
Michael Schurter
2019-10-10 11:55:34 -07:00
committed by GitHub

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