Skip to content

Commit cf1ac9c

Browse files
committed
Fix up how we are doing the tagging
github refs aren't what we want, sadly.
1 parent 70907cd commit cf1ac9c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/pypi.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ jobs:
1414
uses: actions/setup-python@v2
1515
with:
1616
python-version: 3.8
17-
- name: Install poetry
17+
- name: Get the version
18+
id: get_version
19+
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
20+
- name: Install poetry
1821
uses: Gr1N/setup-poetry@v4
1922
- name: Build
2023
run: |
21-
poetry version ${{ github.ref }}
24+
poetry version ${{ steps.get_version.outputs.VERSION }}
2225
- name: Build and publish to pypi
2326
uses: JRubics/poetry-publish@v1.6
2427
with:

0 commit comments

Comments
 (0)