Update go.mod file with correct versions of cli-utils, kyaml, and
cmd/config
Run make all (which should update go.sum and run go mod tidy)
Create a kpt PR with previous go.mod and go.sum changes, and submit.
Example PR
Fetch the latest master changes to a clean branch
git checkout -b release
git fetch upstream
git reset --hard upstream/master
Tag the commit
git tag v1.0.0-(alpha|beta|rc).*
git push upstream v1.0.0-(alpha|beta|rc).*
This will trigger a Github Action that will use goreleaser to make the
release. The result will be a github release in the draft state and upload
docker images to GCR.
Verify that the release looks good. If it does, publish the release through
the github UI.
Update the Homebrew release
go run ./release/formula/main.go <tag> (example: go run ./release/formula/main.go v1.0.0-beta.31)
Release artifacts such as binaries and images will be built automatically by the
Github Action. The binaries linked from the README.md docs will be automatically
updated because they point to the latest binaries which are updated for tagged
releases. Images created from the main branch will not be tagged with
latest.