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
305 stars 19 forks source link

Fail when hooks fail #239

Open coordt opened 7 hours ago

coordt commented 7 hours ago

When a setup, pre-commit, or post-commit hook returns a non-zero response, an error is raised.

The stdout and stderr are logged as warnings to the console.

Fixes #236

github-actions[bot] commented 7 hours ago

Version hint: minor Current version: 0.26.1 New version (when merged): 0.27.0

Comment ID: Display the version hint-auto-generated

github-actions[bot] commented 7 hours ago

PR Preview Action v1.4.8 :---: :rocket: Deployed preview to https://callowayproject.github.io/bump-my-version/pr-preview/pr-239/ on branch gh-pages at 2024-09-28 15:36 UTC

codecov[bot] commented 7 hours ago

Codecov Report

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

Project coverage is 93.99%. Comparing base (130478d) to head (538c420). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #239 +/- ## ========================================== + Coverage 93.97% 93.99% +0.02% ========================================== Files 26 26 Lines 1709 1716 +7 Branches 330 331 +1 ========================================== + Hits 1606 1613 +7 Misses 75 75 Partials 28 28 ``` | [Flag](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/239/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/239/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.99% <100.00%> (+0.02%)` | :arrow_up: | | [python-3.11](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/239/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.99% <100.00%> (+0.02%)` | :arrow_up: | | [python-3.8](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/239/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.91% <100.00%> (+0.02%)` | :arrow_up: | | [python-3.9](https://app.codecov.io/gh/callowayproject/bump-my-version/pull/239/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=callowayproject) | `93.91% <100.00%> (+0.02%)` | :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.