Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .bumpversion.cfg

This file was deleted.

36 changes: 36 additions & 0 deletions .bumpversion.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[tool.bumpversion]
current_version = "11.0.0"
parse = """(?x)
(?P<major>[0-9]+)
\\.(?P<minor>[0-9]+)
\\.(?P<patch>[0-9]+)
(?:
-(?P<release>dev)
(?:(?P<timestamp>[0-9]+))?
)?
"""
serialize = [
"{major}.{minor}.{patch}-{release}{timestamp}",
"{major}.{minor}.{patch}-{release}",
"{major}.{minor}.{patch}",
]

pre_commit_hooks = [
"uv lock --no-refresh --upgrade-package=kpops",
]

[tool.bumpversion.parts.release]
optional_value = "release"
values = [
"dev",
"release",
]

[[tool.bumpversion.files]]
filename = "pyproject.toml"
regex = true
search = '''(?P<prefix>^version\s*=\s*"){current_version}(?P<suffix>")'''
replace = '''\g<prefix>{new_version}\g<suffix>'''

[[tool.bumpversion.files]]
filename = "kpops/const/__init__.py"
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:

- name: Bump version patch
id: bump-version
uses: bakdata/ci-templates/actions/bump-version@1.50.4
uses: bakdata/ci-templates/actions/bump-version@1.82.1
with:
release-type: patch

Expand All @@ -168,7 +168,7 @@ jobs:
run: git restore .

- name: Bump version snapshot time
uses: bakdata/ci-templates/actions/bump-version@1.50.4
uses: bakdata/ci-templates/actions/bump-version@1.82.1
with:
release-type: patch
new-version: ${{ steps.bump-version.outputs.release-version }}${{ steps.snapshot-time.outputs.snapshot-time }} # e.g. 9.1.1-dev20250108102827
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading