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

Fixes issues with external config files in git repos #219

Closed coordt closed 3 months ago

coordt commented 3 months ago

Introduced the repository_root field to store the root path of the repository in the data classes. Refactored subprocess handling to use a new run_command utility for improved readability and error handling consistency. Removed unnecessary dependency from .pre-commit-config.yaml to streamline dependencies.

github-actions[bot] commented 3 months ago

Version hint: minor Current version: 0.24.3 New version (when merged): 0.25.0

Comment ID: Display the version hint-auto-generated

github-actions[bot] commented 3 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-219/ on branch gh-pages at 2024-08-06 17:52 UTC

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 89.53488% with 9 lines in your changes missing coverage. Please review.

Project coverage is 93.75%. Comparing base (e0ba544) to head (890b692). Report is 1 commits behind head on master.

Files Patch % Lines
bumpversion/scm.py 90.76% 4 Missing and 2 partials :warning:
bumpversion/config/files.py 0.00% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #219 +/- ## ========================================== - Coverage 94.07% 93.75% -0.33% ========================================== Files 25 25 Lines 1570 1617 +47 Branches 311 318 +7 ========================================== + Hits 1477 1516 +39 - Misses 68 73 +5 - Partials 25 28 +3 ``` | [Flag](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/219/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/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.75% <89.53%> (-0.33%)` | :arrow_down: | | [python-3.11](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.75% <89.53%> (-0.33%)` | :arrow_down: | | [python-3.8](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.66% <89.53%> (-0.33%)` | :arrow_down: | | [python-3.9](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.66% <89.53%> (-0.33%)` | :arrow_down: | 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.