diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 026e50c05..cd22f0d66 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -22,7 +22,15 @@ jobs: git config user.email "noreply@github.com" # Archive the repository - COPYFILE_DISABLE=1 tar czvf "rules_ios.$TAG.tar.gz" ./* + # Considerations: + # - Dont package hidden files (including the .git directory) + # - Dont package the bazel-* symlink directories + # - Dont package the tests directory + COPYFILE_DISABLE=1 tar czvf "rules_ios.$TAG.tar.gz" \ + --exclude="./.*" \ + --exclude="./bazel-*" \ + --exclude="./tests" \ + ./* # Create the release notes ./.github/workflows/generate_release_notes.sh "$TAG" | tee notes.md