callowayproject / bump-my-version

A small command line tool to simplify releasing software by updating all version strings in your source code by the correct increment and optionally commit and tag the changes.
https://callowayproject.github.io/bump-my-version/
MIT License
349 stars 21 forks source link

Fixed tag version extraction. #207

Closed coordt closed 4 months ago

coordt commented 4 months ago

The output of git describe uses - as a delimiter. Parsing tags caused splits in the parsing of version numbers.

This joins all the remaining parts of the git describe with a -.

Fixes #74

github-actions[bot] commented 4 months ago

Version hint: patch Current version: 0.24.1 New version (when merged): 0.24.2

Comment ID: Display the version hint-auto-generated

github-actions[bot] commented 4 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-207/ on branch gh-pages at 2024-07-03 18:40 UTC

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.06%. Comparing base (9df3475) to head (96ee796). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #207 +/- ## ========================================== + Coverage 93.92% 94.06% +0.13% ========================================== Files 25 25 Lines 1565 1567 +2 Branches 311 311 ========================================== + Hits 1470 1474 +4 + Misses 69 68 -1 + Partials 26 25 -1 ``` | [Flag](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/207/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | Coverage Δ | | |---|---|---| | [python-3.10](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/207/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `94.06% <100.00%> (+0.13%)` | :arrow_up: | | [python-3.11](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/207/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `94.06% <100.00%> (+0.13%)` | :arrow_up: | | [python-3.8](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/207/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `94.03% <100.00%> (+0.13%)` | :arrow_up: | | [python-3.9](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/207/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `94.03% <100.00%> (+0.13%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject#carryforward-flags-in-the-pull-request-comment) to find out more.

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