Skip to content

Commit

Permalink
ci: exclude .git directory from the source code tarball
Browse files Browse the repository at this point in the history
Reduces the its final size from 17.1 MiB down to 4.1 MiB.

Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
  • Loading branch information
guihkx committed Jun 9, 2023
1 parent bfe7e3a commit 8468d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trigger_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
mv PrismLauncher-macOS-Legacy*/PrismLauncher.tar.gz PrismLauncher-macOS-Legacy-${{ env.VERSION }}.tar.gz
mv PrismLauncher-macOS*/PrismLauncher.tar.gz PrismLauncher-macOS-${{ env.VERSION }}.tar.gz
tar -czf PrismLauncher-${{ env.VERSION }}.tar.gz PrismLauncher-${{ env.VERSION }}
tar --exclude='.git' -czf PrismLauncher-${{ env.VERSION }}.tar.gz PrismLauncher-${{ env.VERSION }}
for d in PrismLauncher-Windows-MSVC*; do
cd "${d}" || continue
Expand Down

0 comments on commit 8468d84

Please sign in to comment.