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 }}