Skip to content

Commit

Permalink
Hatch read version from the VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
mahenzon committed Jan 19, 2024
1 parent 0c5b1e7 commit 7e2514e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ Documentation = "https://fastapi-jsonapi.readthedocs.io/"
Source = "https://github.com/mts-ai/FastAPI-JSONAPI"

[tool.hatch.version]
path = "fastapi_jsonapi/__init__.py"
path = "fastapi_jsonapi/VERSION"
pattern = "(?P<version>[^']+)"

[tool.hatch.build.targets.sdist]
include = [
Expand Down

0 comments on commit 7e2514e

Please sign in to comment.