diff options
author | guihkx <626206+guihkx@users.noreply.github.com> | 2023-06-09 00:48:05 -0300 |
---|---|---|
committer | guihkx <626206+guihkx@users.noreply.github.com> | 2023-06-09 00:56:17 -0300 |
commit | 93436b09401b7f425cffaac49e03756526d04cb3 (patch) | |
tree | c98e6b4ccb10e7f28f8be99ed2d55a83db5c5bb2 /.github | |
parent | bfe7e3afed286de02dfc1ec4cc2b39f31972d295 (diff) | |
download | PrismLauncher-93436b09401b7f425cffaac49e03756526d04cb3.tar.gz PrismLauncher-93436b09401b7f425cffaac49e03756526d04cb3.tar.bz2 PrismLauncher-93436b09401b7f425cffaac49e03756526d04cb3.zip |
ci: exclude .git directory from the source code tarball
Reduces the its final size from 17.1 MiB down to 7.9 MiB.
Signed-off-by: guihkx <626206+guihkx@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/trigger_release.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/trigger_release.yml b/.github/workflows/trigger_release.yml index 3c56a38e..f19b8398 100644 --- a/.github/workflows/trigger_release.yml +++ b/.github/workflows/trigger_release.yml @@ -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 |