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 option to CLI #134

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Add --version option to CLI #134

merged 1 commit into from
Apr 26, 2023

Conversation

giovanni-guidini
Copy link
Contributor

@giovanni-guidini giovanni-guidini commented Apr 26, 2023

Adds a --version option that displays the version in setup.py.
This will help us cache the CLI by version in github actions and is usually expected to exist in CLI tools.

Example:

$ codecovcli --version
codecovcli, version 0.1.4

Also bumping version number to the current version

@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Merging #134 (fde6b52) into master (a68f501) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #134   +/-   ##
=======================================
  Coverage   94.66%   94.66%           
=======================================
  Files          65       65           
  Lines        2023     2024    +1     
=======================================
+ Hits         1915     1916    +1     
  Misses        108      108           
Flag Coverage Δ
python3.10 94.66% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
codecov_cli/main.py 95.34% <100.00%> (+0.11%) ⬆️

@giovanni-guidini giovanni-guidini merged commit 50d9dc2 into master Apr 26, 2023
@giovanni-guidini giovanni-guidini deleted the gio/version branch April 26, 2023 16:00
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

2 participants