From d92a40e6e9aac2ebd321e2834c147847f8ae7df6 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Fri, 21 Jun 2024 21:58:44 +0200 Subject: [PATCH] Ignore the platform files --- .github/workflows/build-and-release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index 7c7e3631..ae8daa45 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -615,6 +615,11 @@ jobs: # Find and process files in the artifacts directory: find "$GITHUB_WORKSPACE/artifacts" -type f | while read -r FILE; do + # Ignore .updates/platform files: + if [[ "$FILE" == *".updates/platform" ]]; then + continue + fi + if [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz" ]]; then TARGET_NAME="MindWork AI Studio_${FORMATTED_VERSION}_x64.app.tar.gz" elif [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz.sig" ]]; then