This document describes the steps to release a new version of the wit-bindgen-go
CLI.
If package cm
has changed, make the neccessary updates to cm/CHANGELOG.md and create a new release for go.bytecodealliance.org/cm
. Then update the dependency in this module by running:
go get -u go.bytecodealliance.org/cm@latest
Commit those changes prior to tagging a new release of this module.
2. Update CHANGELOG.md
- Add the latest changes to CHANGELOG.md.
- Rename the Unreleased section to reflect the new version number.
- Update the links to new version tag in the footer of CHANGELOG.md
- Add today’s date (YYYY-MM-DD) after an em dash (—).
- Submit a GitHub Pull Request with these updates.
Once the PR is merged, tag the new version in Git and push the tag to GitHub.
For example, to tag version v0.3.0
:
git tag v0.3.0
git push origin v0.3.0
After the tag is pushed, GitHub Actions will automatically create a new release with the content of the CHANGELOG.md
file.