Release process and checklist for cilium-cli
.
This repository doesn't use release branches. All releases currently stem from the master branch.
These variables will be used in the commands throughout the document to allow copy-pasting.
If releasing a new version v5.4.0 with the latest release being v5.3.8, for example, they will look as follows:
export RELEASE=v5.4.0
export LAST_RELEASE=v5.3.8
export COMMIT_SHA=<commit-sha-to-release>
git tag -a $RELEASE -m "$RELEASE release" $COMMIT_SHA && git push origin $RELEASE
When a tag is pushed, a GitHub Action job takes care of creating a new GitHub draft release, building artifacts and attaching them to the draft release. Once the draft is ready, use the "Auto-generate release notes" button to generate the release notes from PR titles, review them and publish the release.
The cilium-cli
Homebrew formula can be updated using the command:
brew bump-formula-pr --version=${RELEASE#v} cilium-cli
This will automatically create a PR against https://github.com/Homebrew/homebrew-core
bumping the version. This assumes a GitHub access token exported in
$HOMEBREW_GITHUB_API_TOKEN
, see brew bump-formula-pr --help
for details.