This checklist outlines the steps to create a new release for miso.
- Ensure all tests are passing on the
mainbranch:go test ./... - Confirm the
mainbranch has all the features and fixes intended for the release. - (Optional) Update a
CHANGELOG.mdwith the changes for the new version.
- Determine the new version number (e.g.,
v0.1.0) following SemVer. - Update the
versionvariable incmd/main/main.goto the new version number.// In cmd/main/main.go var version = "v0.1.0" // Update this from "dev"
- Commit the version change:
git commit -m "chore: bump version to v0.1.0"
- Create a new git tag for the version:
git tag -a v0.1.0 -m "Release v0.1.0" - Push the commit and the tag to GitHub. This will trigger the release workflow.
git push origin main git push origin v0.1.0
- Go to the repository's "Releases" page on GitHub and verify that the new release was created successfully with all binaries and a changelog.