Skip to content

Commit e7bd2ad

Browse files
authored
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 <[email protected]>
1 parent 75723e3 commit e7bd2ad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/python-publish.yml

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
id-token: write
1818
steps:
1919
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
2022

2123
- name: Set up Python 3.9
2224
uses: actions/setup-python@v4

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ build-backend = "poetry.core.masonry.api"
4242
[tool.poetry-dynamic-versioning]
4343
enable = true
4444
vcs = "git"
45+
metadata = false
46+
format = "{base}"
4547

4648
[tool.poetry-dynamic-versioning.substitution]
4749
files = ["dowhy/__init__.py"]

0 commit comments

Comments
 (0)