Skip to content
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

version: unify Git Commit Hash and Branch info for legacy and new architectures #827

Conversation

wlwilliamx
Copy link
Collaborator

What problem does this PR solve?

Issue Number: close #826

What is changed and how it works?

This PR updates the cdc version command to always display the Git Commit Hash and Branch from the new architecture repository. Since TiCDC binaries are built exclusively from the new architecture, this change ensures consistency in version reporting.

Users can still find the legacy architecture’s Git Commit Hash and build details in the go.mod file, e.g.:

github.com/pingcap/tiflow v0.0.0-20241023094956-dd2d54ad4c19  

Check List

Tests

  • No code

Questions

Will it cause performance regression or break compatibility?

No.

Do you need to update user documentation, design documentation or monitoring documentation?

No.

Release note

None

…hitectures

This commit updates the `cdc version` command to always display the Git Commit Hash and Branch from the new architecture repository. This ensures consistency in version reporting, as TiCDC binaries are now built exclusively from the new architecture repository. Users can still find the legacy architecture's commit details in the `go.mod` file.
@wlwilliamx wlwilliamx merged commit b70c8f7 into pingcap:master Jan 9, 2025
7 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

unify version info in cdc version command
1 participant