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

Add version to CLI description from Cargo.toml #5

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Conversation

dloez
Copy link
Owner

@dloez dloez commented Jul 11, 2023

Instead of hardcoding the version to the CLI program description, now it is read from CARGO_PKG_VERSION environment variable and directly referenced on code. This fixes the issue where new releases would still present and old version in the command arcanist - --version.

@dloez dloez merged commit f3ad9d7 into main Jul 11, 2023
5 checks passed
@dloez dloez deleted the bugfix/dynamic-version branch July 11, 2023 10:49
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.

None yet

1 participant