From 16dc6ff07d6819dbe27e5b26739f9b5a9d1e8678 Mon Sep 17 00:00:00 2001 From: Robin Fievet Date: Fri, 16 Aug 2024 10:34:09 -0400 Subject: [PATCH] remove duplicates --- .github/workflows/bundle_app.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bundle_app.yml b/.github/workflows/bundle_app.yml index e7f60e2..2d23c4e 100644 --- a/.github/workflows/bundle_app.yml +++ b/.github/workflows/bundle_app.yml @@ -104,7 +104,9 @@ jobs: - name: "Create app bundle (Windows)" if: ${{ inputs.platform == 'win' }} run: | - zip -r --junk-paths $BOINC_PLATFORM.zip . -i version.xml job.$NEW_VERSION-$PLATFORM.xml job.$NEW_VERSION-$PLATFORM.xml.sig $WRAPPER.exe $WRAPPER.exe.sig app.$NEW_VERSION-$PLATFORM.zip app.$NEW_VERSION-$PLATFORM.zip.sig + # Exclude the WRAPPER.exe and WRAPPER.exe.sig from this zip because they are included in app.$NEW_VERSION-$PLATFORM.zip + # Including them again could cause issues with duplicate entries when updating versions on the BOINC server. + zip -r --junk-paths $BOINC_PLATFORM.zip . -i version.xml job.$NEW_VERSION-$PLATFORM.xml job.$NEW_VERSION-$PLATFORM.xml.sig app.$NEW_VERSION-$PLATFORM.zip app.$NEW_VERSION-$PLATFORM.zip.sig - name: "Create app bundle (non-Windows)" if: ${{ inputs.platform != 'win' }} run: |