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

Add script hooks #228

Closed coordt closed 2 months ago

coordt commented 2 months ago

This provides a method for running commands and scripts during the version increment process.

github-actions[bot] commented 2 months ago

Version hint: minor Current version: 0.25.4 New version (when merged): 0.26.0

Comment ID: Display the version hint-auto-generated

github-actions[bot] commented 2 months ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-228/ on branch gh-pages at 2024-08-18 21:27 UTC

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 93.94%. Comparing base (b45ddb8) to head (04a98d0). Report is 13 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #228 +/- ## ========================================== + Coverage 93.85% 93.94% +0.09% ========================================== Files 25 26 +1 Lines 1627 1702 +75 Branches 322 330 +8 ========================================== + Hits 1527 1599 +72 - Misses 73 75 +2 - Partials 27 28 +1 ``` | [Flag](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/228/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/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.94% <100.00%> (+0.09%)` | :arrow_up: | | [python-3.11](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.94% <100.00%> (+0.09%)` | :arrow_up: | | [python-3.8](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.86% <100.00%> (+0.09%)` | :arrow_up: | | [python-3.9](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/228/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.86% <100.00%> (+0.09%)` | :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.