Skip to content

Commit

Permalink
fix publish workflow to use detected version
Browse files Browse the repository at this point in the history
  • Loading branch information
0xabu committed Jan 8, 2022
1 parent 75c94c2 commit 0b7cb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Check package
run: twine check --strict dist/*
- name: Publish package, only if correctly tagged
if: github.ref == format('refs/tags/v{0}', steps.get-version.VERSION)
if: github.ref == format('refs/tags/v{0}', steps.get-version.outputs.VERSION)
run: twine upload --non-interactive --verbose --disable-progress-bar dist/*
env:
TWINE_USERNAME: __token__
Expand Down

0 comments on commit 0b7cb53

Please sign in to comment.