Skip to content

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

Merged
wlwilliamx merged 1 commit intopingcap:masterfrom
wlwilliamx:chore/change-makefile-tiflow-version-info
Jan 9, 2025
Merged

version: unify Git Commit Hash and Branch info for legacy and new architectures#827
wlwilliamx merged 1 commit intopingcap:masterfrom
wlwilliamx:chore/change-makefile-tiflow-version-info

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
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