From 98b8b055384d0f9782edd64f1592f4704acd35a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Fri, 2 Feb 2024 03:18:04 +0100 Subject: [PATCH] github: Also exclude `.git` and `tests/tests/swfs` from `reproducible-source.zip` --- .github/workflows/release_nightly.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index ea2797116..37426471e 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -322,7 +322,9 @@ jobs: - name: Produce reproducible source archive if: ${{ !matrix.demo }} shell: bash -l {0} - run: zip -r reproducible-source.zip . -x /web/node_modules/**/* -x /web/**/node_modules/**/* && cp reproducible-source.zip "${{ needs.create-nightly-release.outputs.package_prefix }}-reproducible-source.zip" + run: | + zip -r reproducible-source.zip . -x '/web/node_modules/*' -x '/web/*/node_modules/*' -x '/.git/*' -x '/tests/tests/swfs/*' + cp reproducible-source.zip "${{ needs.create-nightly-release.outputs.package_prefix }}-reproducible-source.zip" - name: Upload reproducible source archive if: ${{ !matrix.demo }}