kustomize-controller/docs/internal/release.md

774 B

Release

To release a new version the following steps should be followed:

  1. Create a api/<next semver> tag and push it to remote.
  2. Create a new branch from main i.e. release-<next semver>. This will function as your release preparation branch.
  3. Update the github.com/fluxcd/kustomize-controller/api version in go.mod
  4. Add an entry to the CHANGELOG.md for the new release and change the newTag value in config/manager/kustomization.yaml to that of the semver release you are going to make. Commit and push your changes.
  5. Create a PR for your release branch and get it merged into main.
  6. Create a <next semver> tag for the merge commit in main and push it to remote.
  7. Confirm CI builds and releases the newly tagged version.