- Make sure to check direct dependencies and keep the vendor directory current. Run
go mod tidy
andgo mod vendor
to make sure. - Make sure test are passing. Run
go test $(go list ./... | grep -v /examples)
. - Make sure the
version
number inconfig.go
is correct. - Make sure changelog is up-to-date and has a release date.
- Add a git tag for the release, e.g.,
git tag v3.3.0
. - Finally, push the tag, e.g.,
git push origin v3.3.0
.
- Finally, go to GitHub and finish up the draft release. Include the changelog entries in the release message.