Skip to content

Commit

Permalink
feat(config): add version_pattern for semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 7, 2024
1 parent 307b92c commit 872f6ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ tag_format = "v$version"
[tool.semantic_release]
branch = "main"
version_toml = "pyproject.toml:tool.poetry.version"
version_pattern = '.docker/docker.version:IMAGE_VERSION="{version}"'
version_variable = "src/coursetemp/_version.py:__version__"
version_source = "tag"
commit_version_number = true # required for version_source = "tag"
Expand Down

0 comments on commit 872f6ec

Please sign in to comment.