Skip to content

Commit

Permalink
Set project version dynamic based on git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fliiiix committed Oct 11, 2023
1 parent 7658661 commit 62b49ec
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "chapter-marker"
version = "1.0.2"
license = "MIT"
version = "0.0.0" # set via tool.poetry-dynamic-versioning
repository = "https://github.com/Binaergewitter/chapter-marker"
description = "chapter-marking utility"
readme = "README.md"
Expand Down Expand Up @@ -59,5 +59,8 @@ ensure_newline_before_comments = true
line_length = 140

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"

[tool.poetry-dynamic-versioning]
enable = true

0 comments on commit 62b49ec

Please sign in to comment.