Skip to content

Commit 2b4c6be

Browse files
authored
Update publish-to-pypi.yml
1 parent 87c0477 commit 2b4c6be

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/publish-to-pypi.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ jobs:
110110
env:
111111
GITHUB_TOKEN: ${{ github.token }}
112112
run: |
113-
gh release create
114-
"${{ needs.create-tag.outputs.MPYTHON_VERSION }}"
115-
--repo "$GITHUB_REPOSITORY"
113+
gh release create ${{ needs.create-tag.outputs.MPYTHON_VERSION }} --repo "$GITHUB_REPOSITORY"
116114
--notes ""
117115
- name: Upload artifact signatures to GitHub Release
118116
env:
@@ -121,9 +119,7 @@ jobs:
121119
# `dist/` contains the built packages, and the
122120
# sigstore-produced signatures and certificates.
123121
run: |
124-
gh release upload
125-
"${{ needs.create-tag.outputs.MPYTHON_VERSION }}" dist/**
126-
--repo "$GITHUB_REPOSITORY"
122+
gh release upload ${{ needs.create-tag.outputs.MPYTHON_VERSION }} dist/** --repo "$GITHUB_REPOSITORY"
127123
128124
publish-to-testpypi:
129125
name: Publish Package to TestPyPI

0 commit comments

Comments
 (0)