-
Notifications
You must be signed in to change notification settings - Fork 136
How to Release
-
From the latest release branch, create a new branch in your repository, using whatever name you like. Example:
git fetch origin git checkout -b release-20210330 origin/release
-
Cherry pick commits you want to carry from the master branch in this release.
-
Update the
release-version
file using the current calendar date and commit, for example,2021.03.30.1
-
Push your branch.
-
Open a pull request that merges to release branch, use title likes "Release v2021.03.30.1". Add
[skip pd_pr]
in the end to skip auto-submit PR to PD. -
Ask @breeswish to review and merge.
-
The release tag and release artifacts will be created automatically.
-
Normally, as a follow-up, you will need to update PD to use this new TiDB Dashboard release. You can update the TiDB Dashboard in PD by using:
# in PD repo: go get -d github.com/pingcap/tidb-dashboard@<RELEASE_VERSION> go mod tidy make pd-server go mod tidy cd tests/integrations/client go mod tidy cd ../mcs go mod tidy cd ../tso go mod tidy
Example:
go get -d github.com/pingcap/[email protected] go mod tidy make pd-server go mod tidy cd tests/integrations/client go mod tidy cd ../mcs go mod tidy cd ../tso go mod tidy
Then, commit the changes with
--signoff
option and with the message likes "Update dashboard to v2021.03.30.1", propose to Pull Requests in PD.