From 60ce72710cf494226cc1cad0fea6215203686a66 Mon Sep 17 00:00:00 2001 From: Hugo Slepicka Date: Wed, 27 Sep 2023 16:39:24 -0700 Subject: [PATCH] CI: Remove .git .github and .gitignore from the release tarball. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f0b9d7d62..7a1f0828a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,7 @@ jobs: mkdir -p ~/bmad_dist; mkdir ~/bmad_dist_${{ steps.release_name.outputs.version }}; cp -r $GITHUB_WORKSPACE ~/bmad_dist_${{ steps.release_name.outputs.version }}/; - tar -czf ~/bmad_dist/bmad_dist.tar.gz -C ~/ bmad_dist_${{ steps.release_name.outputs.version }} + tar --exclude .git --exclude .github --exclude .gitignore -czf ~/bmad_dist/bmad_dist.tar.gz -C ~/ bmad_dist_${{ steps.release_name.outputs.version }} - name: Create Release - ${{ steps.release_name.outputs.version }}