Skip to content

Commit

Permalink
Set ignore_missing_files option globally in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Mar 3, 2024
1 parent ef2c96b commit c8cab7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
# TODO: get configuration URL once https://github.com/callowayproject/bump-my-version/issues/148 is addressed,
# so we can factorize projects' pyproject.toml files to kdeldycke/workflow/pyproject.toml .
run: |
bump-my-version bump --verbose --ignore-missing-files ${{ matrix.part }}
bump-my-version bump --verbose ${{ matrix.part }}
- name: Extract version
id: get_version
run: |
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
# TODO: get configuration URL once https://github.com/callowayproject/bump-my-version/issues/148 is addressed,
# so we can factorize projects' pyproject.toml files to kdeldycke/workflow/pyproject.toml .
run: |
bump-my-version bump --verbose --ignore-missing-files patch
bump-my-version bump --verbose patch
- name: Commit post-release version bump
run: |
git commit --all --message="[changelog] Post-release version bump"
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
This version is not released yet and is under active development.
```

- Set `ignore_missing_files` option globally in `pyproject.toml`.

## [3.3.4 (2024-03-01)](https://github.com/kdeldycke/workflows/compare/v3.3.3...v3.3.4)

- Add some debug messages.
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[tool.bumpversion]
current_version = "3.3.5"
allow_dirty = true
# XXX Wait for https://github.com/callowayproject/bump-my-version/issues/145 to activate global option.
# ignore_missing_files = true
ignore_missing_files = true

[[tool.bumpversion.files]]
# Update Python package version in any __init__.py file.
Expand Down

0 comments on commit c8cab7c

Please sign in to comment.