Skip to content

Commit

Permalink
Merge pull request #516 from hhslepicka/ci/fix-release-tarball
Browse files Browse the repository at this point in the history
CI: Remove .git .github and .gitignore from the release tarball.
  • Loading branch information
ChristopherMayes authored Sep 27, 2023
2 parents 3042364 + 60ce727 commit 2e35572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 2e35572

Please sign in to comment.