mirror of
https://github.com/karl0ss/ai_image_frame_server.git
synced 2025-07-14 01:46:06 +01:00
rework version
This commit is contained in:
parent
1b528a4277
commit
8665ab431c
@ -1,9 +1,14 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.2.12"
|
current_version = "0.2.13"
|
||||||
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
||||||
serialize = ["{major}.{minor}.{patch}"]
|
serialize = ["{major}.{minor}.{patch}"]
|
||||||
replace = "{new_version}"
|
replace = "{new_version}"
|
||||||
regex = false
|
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]]
|
[[tool.bumpversion.files]]
|
||||||
filename = ".bumpversion.toml"
|
filename = ".bumpversion.toml"
|
||||||
@ -14,15 +19,6 @@ replace = 'current_version = "{new_version}"'
|
|||||||
filename = "Dockerfile"
|
filename = "Dockerfile"
|
||||||
search = 'ARG VERSION="{current_version}"'
|
search = 'ARG VERSION="{current_version}"'
|
||||||
replace = 'ARG VERSION="{new_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 = []
|
moveable_tags = []
|
||||||
commit_args = ""
|
commit_args = ""
|
||||||
setup_hooks = []
|
setup_hooks = []
|
||||||
|
@ -4,7 +4,7 @@ FROM python:3.11-slim
|
|||||||
# Set the working directory in the container
|
# Set the working directory in the container
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
# Set version label
|
# Set version label
|
||||||
ARG VERSION="0.2.12"
|
ARG VERSION="0.2.13"
|
||||||
LABEL version=$VERSION
|
LABEL version=$VERSION
|
||||||
|
|
||||||
# Copy project files into the container
|
# Copy project files into the container
|
||||||
|
Loading…
x
Reference in New Issue
Block a user