Skip to content

Commit b3a48d8

Browse files
committed
Fix CD workflow
1 parent dd7b14e commit b3a48d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
- uses: actions/setup-python@v2
1515
with:
1616
python-version: 3.8
17-
- run: echo "$GITHUB_REF" > version.txt
17+
- run: echo "${GITHUB_REF##*/}" > version.txt
1818
- run: pip install twine
1919
- run: python setup.py sdist
20-
- run: twine upload --skip-existing /dist/*
20+
- run: twine upload --skip-existing ./dist/*
2121
env:
2222
TWINE_USERNAME: ascoderu
2323
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)