- 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.
The Major version tag workflow moves it automatically when a non-prerelease release is published, so step 5 above is the last manual step.
Do not create a GitHub release for the v1 tag. Releases in this repo are immutable, and attaching one would freeze the tag in place.