Skip to content

Commit 2cf3c85

Browse files
author
Robert Sachunsky
committed
PyPI CD: strip 'v' prefix from git tag
1 parent 61ed15a commit 2cf3c85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@ jobs:
2626
env:
2727
TWINE_USERNAME: __token__
2828
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
29-
run: twine upload --verbose dist/ocrd*${{ github.ref_name }}*{tar.gz,whl}
29+
run: |
30+
version=${{ github.ref_name }}
31+
twine upload --verbose dist/ocrd*${version:1}*{tar.gz,whl}

0 commit comments

Comments
 (0)