To release a new version of the CLI, follow the steps below:
Warning
You need to have write permission to this repo to release a new version
-
Check the last CI run on
main
succeeded. -
Checkout
main
and pull the latest changes:git checkout main && git pull origin main
-
In your local clone, create a new tag:
git tag vX.Y.Z -m "Release vX.Y.Z"
-
Push the tag to the repository:
git push origin vX.Y.Z
This will automatically start the release workflow and create a draft release in the repo's Releases section with all the required binaries and assets.
-
Check the release notes, add any notable changes, and publish the release.