- Update
NEWS.mdwith relevant changes since the last release and set the version heading. - Commit the changes with a message like "Release v#{version}"
- Tag the release:
git tag -s v#{version}and fill in the tag message with the relevant changes. - Push the changes:
git push --follow-tags - Create a release on GitHub with the version and release notes from
NEWS.md. - Announce the release.
This action follows Semantic Versioning. The major version tag (e.g. v1) is kept pointing at the latest patch release in that series so consumers who pin thoughtbot/importmap-update@v1 get updates automatically.
After tagging v1.x.x, move the floating tag:
git tag -f v1
git push --force origin v1