Skip to content

Commit

Permalink
Prevent bumpversion from triggering itself (#51)
Browse files Browse the repository at this point in the history
### What kind of change does this PR introduce?

* Makes it so that we don't create bumpversion recursion excursions

### Does this PR introduce a breaking change?

This is very much a FIXING change.

### Other information:

Don't make this mistake, but if you ever do, turn off GitHub Actions.
  • Loading branch information
Zeitsperre authored Nov 30, 2023
2 parents f7afdb0 + e50a7ba commit e175765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
- docs/notebooks
- environment-docs.yml
- environment.yml
- pyproject.toml
- requirements_dev.txt
- setup.cfg
- setup.py
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ target-version = [
current_version = "0.2.4"
commit = true
tag = false
tag_name = "{new_version}"
tag_name = "v{new_version}"
allow_dirty = false
serialize = ["{major}.{minor}.{patch}"]
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
Expand Down

0 comments on commit e175765

Please sign in to comment.