Skip to content

Commit

Permalink
re-introduce version duplication in pyproject.toml to cope with both …
Browse files Browse the repository at this point in the history
…bumpver expectations and pep440

Signed-off-by: Emmanuel Decitre <[email protected]>
  • Loading branch information
decitre committed Jul 5, 2024
1 parent 274877a commit b3c1f1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "here-search-demo"
version = "{attr:bumpver.version}"
version = "0.9.1"
description = "HERE Geocoding and Search demo and widgets"
readme = "README.md"
authors = [ {name = "HERE Global B.V. and its affiliate(s)", email = "[email protected]"} ]
Expand Down Expand Up @@ -72,7 +72,8 @@ push = true

[bumpver.file_patterns]
"pyproject.toml" = [
'version = "{version}"'
'^version = "{version}"',
'^current_version = "{version}"',
]
"src/here_search/demo/notebooks/*.ipynb" = [
'here_search_demo-{version}-py3-none-any.whl'
Expand Down

0 comments on commit b3c1f1b

Please sign in to comment.