Skip to content

Commit

Permalink
chore: use variable instead of constant in setup.cfg (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: ds-sebastian-chwilczynski <[email protected]>
  • Loading branch information
ds-sebastianchwilczynski and ds-sebastian-chwilczynski authored Apr 25, 2024
1 parent 1bf88e9 commit 3745054
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,7 @@ logging_use_named_masks = false
major_on_zero = false
allow_zero_version = true
tag_format = "v{version}"
version_variables = [
"setup.cfg:version",
"src/dbally/__version__.py:__version__",
]
version_variables = ["src/dbally/__version__.py:__version__"]
build_command = "pip install build && python -m build"

[tool.semantic_release.branches.main]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
name = dbally
# do not change version by hand, is will be automatically updated during the release action
version = 0.1.0
version = attr: dbally.__version__.__version__
description = "Efficient, consistent and secure library for querying structured data with natural language"
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 3745054

Please sign in to comment.