Skip to content

Commit e1d740d

Browse files
authored
Merge pull request #3 from HXSecurity/action/fix-bug
Update release.yml
2 parents afb662f + a85f48d commit e1d740d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
pip install setuptools wheel twine
2525
2626
- id: release
27-
run: |
28-
TAG_NAME=${{ github.event.release.tag_name }}
29-
ID=`echo ${TAG_NAME##v}`
30-
echo "::set-output name=VERSION::$ID"
27+
run: |
28+
TAG_NAME=${{ github.event.release.tag_name }}
29+
ID=`echo ${TAG_NAME##v}`
30+
echo "::set-output name=VERSION::$ID"
3131
3232
- name: Build and publish
3333
env:
@@ -36,4 +36,4 @@ jobs:
3636
run: |
3737
sed -i "s/latest/${{ steps.release.outputs.VERSION }}" setup.py
3838
python setup.py sdist bdist_wheel
39-
twine upload dist/*
39+
twine upload dist/*

0 commit comments

Comments
 (0)