Skip to content

Commit 83b98fc

Browse files
authored
Merge pull request #57 from GauravPandeyLab/dev-jamie
add dynamic versioning
2 parents ee3030c + e9aaf6c commit 83b98fc

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
steps:
1111
- name: Check out the repository
1212
uses: actions/checkout@v3
13+
with:
14+
1315

1416
- name: Set up Python
1517
uses: actions/setup-python@v3
@@ -22,7 +24,9 @@ jobs:
2224
2325
- name: Install dependencies
2426
run: |
25-
poetry install
27+
pip install pipx
28+
pipx install poetry
29+
pipx inject poetry "poetry-dynamic-versioning[plugin]"
2630
2731
- name: Publish package to PyPI
2832
run: |

.github/workflows/publish_test_pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818

1919
- name: Install poetry
2020
run: |
21-
pip install poetry
21+
pip install pipx
22+
pipx install poetry
23+
pipx inject poetry "poetry-dynamic-versioning[plugin]"
2224
2325
- name: Install dependencies
2426
run: |

0 commit comments

Comments
 (0)