Skip to content

Commit

Permalink
only upload source tar.gz, not zip
Browse files Browse the repository at this point in the history
  • Loading branch information
18alantom committed Jun 15, 2024
1 parent 4953c58 commit 8b46875
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,14 +105,13 @@ jobs:
- name: Prepare source code
run: |
cd ..
zip -r v${{ env.RELEASE_VERSION }}.zip ${{ github.event.repository.name }}
tar -czvf v${{ env.RELEASE_VERSION }}.tar.gz ${{ github.event.repository.name }}
mv v${{ env.RELEASE_VERSION }}* ${{ github.event.repository.name }}
mv v${{ env.RELEASE_VERSION }}.tar.gz ${{ github.event.repository.name }}
- name: Upload for release
uses: svenstaro/upload-release-action@v2
with:
file: v${{ env.RELEASE_VERSION }}*
file: v${{ env.RELEASE_VERSION }}.tar.gz
file_glob: true
overwrite: true
tag: ${{ github.ref }}
Expand Down

0 comments on commit 8b46875

Please sign in to comment.