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

refactor: move the version string to common #3783

Merged

Conversation

MichaelScofield
Copy link
Collaborator

I hereby agree to the terms of the GreptimeDB CLA.

Refer to a related PR or issue link (optional)

What's changed and what's your intention?

To make the cli "--version" prints the correct version string. Previously, in a project that embeds greptimedb as a submodule, the project's bins always print the git info of greptimedb, instead of the project's. After this PR, that can be fixed.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

@MichaelScofield MichaelScofield requested a review from a team as a code owner April 23, 2024 12:56
@github-actions github-actions bot added the docs-not-required This change does not impact docs. label Apr 23, 2024
@waynexia waynexia enabled auto-merge April 23, 2024 13:46
@waynexia waynexia added this pull request to the merge queue Apr 23, 2024
@tisonkun
Copy link
Contributor

Although I suppose we may have another think how to support using GreptimeDB as a lib (that is, it's possible the downstream wants to keep the upstream version), we can use this way now and make the version manner configurable later we meet concrete requirements.

Merged via the queue into GreptimeTeam:main with commit 86a9895 Apr 23, 2024
18 checks passed
@MichaelScofield MichaelScofield deleted the refactor/properly-record-versions branch April 24, 2024 01:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants