Fixing python publish workflow to run after version tag is created (#1100)
fixed workflow to include tags and fixed pyproject to output the latest tag version Signed-off-by: Amit Sharma <amit_sharma@live.com>
This commit is contained in:
Родитель
75723e3b6c
Коммит
e7bd2ad84f
|
@ -17,6 +17,8 @@ jobs:
|
|||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v4
|
||||
|
|
|
@ -42,6 +42,8 @@ build-backend = "poetry.core.masonry.api"
|
|||
[tool.poetry-dynamic-versioning]
|
||||
enable = true
|
||||
vcs = "git"
|
||||
metadata = false
|
||||
format = "{base}"
|
||||
|
||||
[tool.poetry-dynamic-versioning.substitution]
|
||||
files = ["dowhy/__init__.py"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче