Skip to content

Commit 20d124d

Browse files
committed
edit workflow to implement dynamic versioning
1 parent c164e01 commit 20d124d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/pypi-publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ jobs:
1919
python-version: 3.9
2020

2121
- name: Install Poetry
22-
uses: snok/[email protected]
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

0 commit comments

Comments
 (0)