Skip to content

Commit ff58b0c

Browse files
committed
🩹 fix-simple(compose.yaml): change the version in the Docker images tags automatically with commitizen
1 parent 7987570 commit ff58b0c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎template/pyproject.toml.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ name = "cz_gitmoji"
6565
{%- else %}
6666
name = "cz_conventional_commits"
6767
{%- endif %}
68-
version_files = ["src/{{ project_slug }}/__version__.py"]
68+
version_files = ["src/{{ project_slug }}/__version__.py"{% if dockerfile %}", compose.yaml"{% endif %}]
6969
tag_format = "$version"
7070
version_scheme = "pep440"
7171
version_provider = "uv"

‎template/{% if dockerfile %}compose.yaml{% endif %}.jinja‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ services:
2121
restart: unless-stopped
2222

2323
{{ project_name }}-dev:
24-
image: {{ project_name }}:0.0.1-dev
24+
image: {{ project_name }}:0.0.1-devel
2525
build:
2626
context: .
2727
dockerfile: Dockerfile

0 commit comments

Comments
 (0)