rework version

This commit is contained in:
Karl 2025-07-10 17:12:14 +01:00
parent 1b528a4277
commit 8665ab431c
2 changed files with 7 additions and 11 deletions

View File

@ -1,9 +1,14 @@
[tool.bumpversion]
current_version = "0.2.12"
current_version = "0.2.13"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
serialize = ["{major}.{minor}.{patch}"]
replace = "{new_version}"
regex = false
tag = true
commit = true
message = "Bump version: {current_version} → {new_version}"
tag_name = "{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
[[tool.bumpversion.files]]
filename = ".bumpversion.toml"
@ -14,15 +19,6 @@ replace = 'current_version = "{new_version}"'
filename = "Dockerfile"
search = 'ARG VERSION="{current_version}"'
replace = 'ARG VERSION="{new_version}"'
ignore_missing_version = false
ignore_missing_files = false
tag = true
sign_tags = false
tag_name = "{new_version}"
tag_message = "Bump version: {current_version} → {new_version}"
allow_dirty = false
commit = true
message = "Bump version: {current_version} → {new_version}"
moveable_tags = []
commit_args = ""
setup_hooks = []

View File

@ -4,7 +4,7 @@ FROM python:3.11-slim
# Set the working directory in the container
WORKDIR /app
# Set version label
ARG VERSION="0.2.12"
ARG VERSION="0.2.13"
LABEL version=$VERSION
# Copy project files into the container