We use goreleaser to release new versions of ZDNS. To release a new version, follow these steps:
- Install
goreleaser
:
brew install goreleaser/tap/goreleaser
- Create a new tag and push to GH:
git tag -a vA.B.C -m "Release A.B.C"
- Test the release:
goreleaser release --skip=publish --clean
- Set GitHub Token (at least configured with
write:packages
)
export GITHUB_TOKEN="YOUR_GH_TOKEN"
- Push Tag to Github Be sure that this tagged commit is what you want to tag. Once you push you shouldn't delete the tagged version.
git push origin vA.B.C
- Release!
goreleaser release --clean
- Update the Release Notes with a description of your changes