jedie / cli-base-utilities

Helpers to build a CLI program
0 stars 0 forks source link

Bugfix update_readme_history(): Use `__version__` from module #34

Closed jedie closed 10 months ago

jedie commented 10 months ago

Don't use metadata.version(project_name) because this is the installed version, but we need the current version number from __version__.

Because the git pre commit hook will switch the version in README back to **dev**, but this should only be used after a release.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (197a71e) 76.01% compared to head (be14399) 76.02%.

Files Patch % Lines
cli_base/cli_tools/git_history.py 87.50% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #34 +/- ## ========================================== + Coverage 76.01% 76.02% +0.01% ========================================== Files 53 53 Lines 2135 2136 +1 Branches 360 360 ========================================== + Hits 1623 1624 +1 Misses 511 511 Partials 1 1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.