Skip to content

Commit

Permalink
Merge pull request #140 from uktrade/ci/fix-source-upload
Browse files Browse the repository at this point in the history
ci: fix versioned source code upload to GitHub release
  • Loading branch information
michalc authored Aug 10, 2024
2 parents 9bc0abe + 4dedbb5 commit 6d55839
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 6d55839

Please sign in to comment.