Skip to content

Commit 43ac0e1

Browse files
committed
f
1 parent 1538177 commit 43ac0e1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,11 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install setuptools wheel twine
25-
- name: add version variable
26-
run: |
27-
export RELEASE_VERSION=${{ github.event.release.tag_name }}
28-
echo "::set-env name=RELEASE_VERSION::$RELEASE_VERSION"
2925
- name: Build and publish
3026
env:
3127
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3228
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29+
RELEASE_VERSION: ${{ github.event.release.tag_name }}
3330
run: |
3431
python setup.py sdist bdist_wheel
3532
twine upload dist/*

0 commit comments

Comments
 (0)