Skip to content

Commit

Permalink
ci: fix versioned source code upload to GitHub release
Browse files Browse the repository at this point in the history
I misunderstood how the CLI worked a bit to do this. Hopefully this is the
right way.
  • Loading branch information
michalc committed Aug 10, 2024
1 parent 9bc0abe commit 4dedbb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-package-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
touch "${GITHUB_REF_NAME}.tar.gz"
tar --exclude='.git' --exclude='${GITHUB_REF_NAME}.tar.gz' -czvf "${GITHUB_REF_NAME}.tar.gz" .
gh release upload "${GITHUB_REF_NAME}" "${GITHUB_REF_NAME}.tar.gz" "Source code (with release version)"
gh release upload "${GITHUB_REF_NAME}" "${GITHUB_REF_NAME}.tar.gz#Source code (with release version)"
rm "${GITHUB_REF_NAME}.tar.gz"
env:
GH_TOKEN: ${{ github.token }}
Expand Down

0 comments on commit 4dedbb5

Please sign in to comment.