This document explains the process to release new versions.
Versions are expressed as vX.Y.Z;
Xis the major versionYis the minor versionZis the patch version
- Major releases: arbitrary timing
- Minor releases: roughly every 2 months
- Patch releases: roughly every 2-3 weeks
Release candidates(vX.Y.Z-alpha) for minor versions are available for 2-4 weeks before the release.
This refers to the release of new features or breaking changes.
-
Run the release script
This example assumes that
vX.Y.Zwill be released:make release/init version=vX.Y.Z
RELEASEfile will be updated anddocs/content/en/blog/releases/vX.Y.Z.mdfile will be created. -
Push the above changes and Create a pull request to confirm the changelog. You can confirm the changelog through the reviewing comment in pull request by GitHub Actions. For more information, Please see actions-gh-release.
-
Update the content in
docs/content/en/blog/releases/vX.Y.Z.mdfile based on changelog results. Please refer to this example.It is recommended to commit the above changes once here.
-
Run the release document script
This example assumes that
vX.Y.Zwill be released:make release/docs version=vX.Y.Z
-
Make a pull request to
masterbranch with the above changes and get reviews and merge.
-
Before cutting a new release, wait for all jobs in GitHub Actions to pass on the master branch.
-
Create a tagged release from the master branch. The release should start with "v" and be followed by the version number.
This refers to the release of new features.
Please refer to Major release for the processes.
This refers to the release of critical bug fixes.
A bugfix for a functional issue (not a data loss or security issue) that only affects an alpha feature does not qualify as a critical bug fix.
ghis needed to be installed and rangh auth login. Please refer to cli/cli.
-
Create a pull request to fix a bug on the
masterbranch. -
Get reviews and merge.
-
As well as Major release, create a pull request to create a release note on the
masterbranch. -
Get a review and merge.
-
Run release pick commits
This example assumes that the name of a release branch is
release-vX.Y.xand the numbers of pull request are#1234and#5678:make release/pick branch=release-vX.Y.x pull_numbers="1234 5678" -
Get a review and merge.
-
Before cutting a new release, wait for all jobs in GitHub Actions to pass on the release branch.
-
Create a tagged release from the release branch
release-vX.Y.x. The release should start with "v" and be followed by the version number.