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
commit 9b073b8113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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