File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,12 @@ jobs:
1919 python-version : 3.9
2020
2121 - name : Install Poetry
22- 23-
24- - name : Install dependencies
25- run : poetry install --no-interaction
22+ run : |
23+ pip install poetry
24+ poetry self add "poetry-dynamic-versioning[plugin]"
2625
2726 - name : Build source and wheel archives
2827 run : |
29- poetry version $(git describe --tags --abbrev=0)
3028 poetry build
3129
3230 - name : Publish distribution 📦 to PyPI
Original file line number Diff line number Diff line change 11[tool .poetry ]
22
33name = " ontobot-change-agent"
4- version = " 0.3 .0"
4+ version = " 0.0 .0"
55description = " Update ontologies using change language."
66
77authors = [
" Harshad Hegde <[email protected] >" ]
@@ -20,6 +20,11 @@ sphinx-rtd-theme = "^1.0.0"
2020sphinx-autodoc-typehints = " ^1.19.4"
2121sphinx-click = " ^4.3.0"
2222
23+ [tool .poetry-dynamic-versioning ]
24+ enable = true
25+ vcs = " git"
26+ style = " pep440"
27+
2328[tool .poetry .scripts ]
2429ochange = " ontobot_change_agent.cli:main"
2530
@@ -43,5 +48,5 @@ include_trailing_comma = true
4348reverse_relative = true
4449
4550[build-system ]
46- requires = [" poetry-core" ]
47- build-backend = " poetry.core.masonry.api "
51+ requires = [" poetry-core>=1.0.0 " , " poetry-dynamic-versioning " ]
52+ build-backend = " poetry_dynamic_versioning.backend "
You can’t perform that action at this time.
0 commit comments