-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
br: let tools use the same version detecting mechanism #27060
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
/label need-cherry-pick-5.2 |
@YuJuncen: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/label tools |
@YuJuncen: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/label component/tools (This PR needs to be cherry-picked to release-5.2, or the tools in that branch would detect wrong version ( |
@YuJuncen: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/label component/tool |
@YuJuncen: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/merge |
/merge cancel |
/run_unit-test |
/run-unit-test |
1 similar comment
/run-unit-test |
/merge cancel |
/run-check_dev |
1 similar comment
/run-check_dev |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 815b774
|
/run-build |
/build |
/rebuild |
/merge |
/run-unit-test |
/merge |
/run-all-tests |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.2 in PR #27145 |
What problem does this PR solve?
Problem Summary:
Merge the build environment detect mechanism between TiDB and BR.
Would fix #27095
What is changed and how it works?
What's Changed:
TOOLS_LDFLAG
has been removed, and BR detect the build context viamysql.TiDBReleaseVersion
and packageversioninfo
.How it Works: (omitted)
Check List
Tests
- [ ] No code
Side effects
Documentation
Release note
(For the external viewers, tools should ALWAYS share the same version with TiDB.)