Skip to content

Commit

Permalink
fix: consistently set the same version across python package.
Browse files Browse the repository at this point in the history
  • Loading branch information
shahinism committed Oct 2, 2024
1 parent 65b3c11 commit 3ebe2cd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ pytest = "^8.3.1"
{% endif %}

[tool.commitizen]
version = "1.0.0"
version = "{{project_version}}"
update_changelog_on_bump = true
version_provider = "scm"
tag_format = "v$major.$minor.$patch$prerelease"
version_files = [
"pyproject.toml:version",
"src/{{project_name}}/__init__.py"
]

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "{{project_version}}"

0 comments on commit 3ebe2cd

Please sign in to comment.