Skip to content

Commit 87bd00e

Browse files
committed
improve yaml to fetch tags
1 parent cbdb3a9 commit 87bd00e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/python-publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@v4
2727
with:
2828
fetch-depth: 0
29+
fetch-tags: true
2930

3031
- name: Set up Python
3132
uses: actions/setup-python@v5
@@ -35,8 +36,7 @@ jobs:
3536
- name: Install Poetry
3637
run: |
3738
python -m pip install --upgrade pip
38-
pip install poetry
39-
pip install poetry-dynamic-versioning
39+
pip install poetry poetry-dynamic-versioning
4040
4141
- name: Install dependencies
4242
run: poetry install

‎Client/pyproject.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ packages = [
3434

3535
[tool.poetry-dynamic-versioning]
3636
enable = true
37+
vcs = "git"
38+
style = "pep440"
3739

3840
[tool.poetry.group.dev.dependencies]
3941
pytest = "^8.3.5"

0 commit comments

Comments
 (0)