mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-14 04:33:48 +00:00
Fixed macOS update artifact renaming patterns
This commit is contained in:
1 file changed
+4
-4
@@ -598,13 +598,13 @@ jobs:
|
||||
# Find and process files in the artifacts directory:
|
||||
find "$GITHUB_WORKSPACE/artifacts" -type f | while read -r FILE; do
|
||||
|
||||
if [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz" ]]; then
|
||||
if [[ "$FILE" == *"osx-x64"* && "$FILE" == *".tar.gz" ]]; then
|
||||
TARGET_NAME="MindWork AI Studio_${VERSION}_x64.app.tar.gz"
|
||||
elif [[ "$FILE" == *"x86_64-apple-darwin"* && "$FILE" == *".tar.gz.sig" ]]; then
|
||||
elif [[ "$FILE" == *"osx-x64"* && "$FILE" == *".tar.gz.sig" ]]; then
|
||||
TARGET_NAME="MindWork AI Studio_${VERSION}_x64.app.tar.gz.sig"
|
||||
elif [[ "$FILE" == *"aarch64-apple-darwin"* && "$FILE" == *".tar.gz" ]]; then
|
||||
elif [[ "$FILE" == *"osx-arm64"* && "$FILE" == *".tar.gz" ]]; then
|
||||
TARGET_NAME="MindWork AI Studio_${VERSION}_aarch64.app.tar.gz"
|
||||
elif [[ "$FILE" == *"aarch64-apple-darwin"* && "$FILE" == *".tar.gz.sig" ]]; then
|
||||
elif [[ "$FILE" == *"osx-arm64"* && "$FILE" == *".tar.gz.sig" ]]; then
|
||||
TARGET_NAME="MindWork AI Studio_${VERSION}_aarch64.app.tar.gz.sig"
|
||||
else
|
||||
TARGET_NAME="$(basename "$FILE")"
|
||||
|
||||
Reference in new issue
Block a user