7de3e92871
- Drop [skip ci] from the bump-version/changelog/tag-sync commits so master's tip always has a check run instead of only the merge commit. - Filter those chore commits out of the changelog via message pattern instead of the now-removed [skip ci] tag. - Only run CI on push to master (plus tags); pull requests to any branch still run the full suite. - Add a publish-package job that builds and publishes to the Gitea PyPI registry on every tag push, after tests and version sync pass.
18 lines
519 B
TOML
18 lines
519 B
TOML
[tool.bumpversion]
|
|
current_version = "0.3.13"
|
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
serialize = ["{major}.{minor}.{patch}"]
|
|
search = "{current_version}"
|
|
replace = "{new_version}"
|
|
regex = false
|
|
allow_dirty = false
|
|
commit = true
|
|
tag = false
|
|
message = "chore: bump version {current_version} -> {new_version}"
|
|
pre_commit_hooks = ["uv lock", "git add uv.lock"]
|
|
|
|
[[tool.bumpversion.files]]
|
|
filename = "pyproject.toml"
|
|
search = "version = \"{current_version}\""
|
|
replace = "version = \"{new_version}\""
|