Ignore the platform files

This commit is contained in:
Thorsten Sommer 2024-06-21 21:58:44 +02:00
parent 2116c4d438
commit d92a40e6e9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -615,6 +615,11 @@ jobs:
# Find and process files in the artifacts directory: # Find and process files in the artifacts directory:
find "$GITHUB_WORKSPACE/artifacts" -type f | while read -r FILE; do 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 if [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz" ]]; then
TARGET_NAME="MindWork AI Studio_${FORMATTED_VERSION}_x64.app.tar.gz" TARGET_NAME="MindWork AI Studio_${FORMATTED_VERSION}_x64.app.tar.gz"
elif [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz.sig" ]]; then elif [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz.sig" ]]; then