Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use annotated tags for releases #30

Merged
merged 1 commit into from
Mar 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .release-notes/30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Use annotated tags for releases

The release-bot-action will now use annotated rather than lightweight git tags when tagging releases.

To learn more about the differences in tag types, please see [the documentation](https://git-scm.com/book/en/v2/Git-Basics-Tagging).
2 changes: 1 addition & 1 deletion scripts/start-a-release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ git commit -m "${VERSION} release"

# tag release
echo -e "\e[34mTagging for release to kick off building artifacts\e[0m"
git tag "${VERSION}"
git tag -a "${VERSION}" -m "Version ${VERSION}"

# push to release to remote
echo -e "\e[34mPushing commited changes back to ${INPUT_DEFAULT_BRANCH}\e[0m"
Expand Down