Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Add proper exit codes when notarization fails
f-trycua52fc5dd56391
diff --git a/libs/lume/scripts/build/build-release-notarized.sh b/libs/lume/scripts/build/build-release-notarized.shindex 19fb2e8883..018570b203 100755--- a/libs/lume/scripts/build/build-release-notarized.sh+++ b/libs/lume/scripts/build/build-release-notarized.sh@@ -89,24 +89,33 @@ if [ "$LOG_LEVEL" = "minimal" ] || [ "$LOG_LEVEL" = "none" ]; then--password "${APP_SPECIFIC_PASSWORD}" \--wait 2>&1)- # Just show success or failure+ # Check if notarization was successfulif echo "$NOTARY_OUTPUT" | grep -q "status: Accepted"; thenlog "essential" "Notarization successful!"elselog "error" "Notarization failed. Please check logs."+ log "error" "Notarization output:"+ echo "$NOTARY_OUTPUT"+ exit 1fielse# Normal verbose output- xcrun notarytool submit ./.release/lume.pkg \+ if ! xcrun notarytool submit ./.release/lume.pkg \--apple-id "${APPLE_ID}" \--team-id "${TEAM_ID}" \--password "${APP_SPECIFIC_PASSWORD}" \- --wait+ --wait; then+ log "error" "Notarization failed"+ exit 1+ fifi# Staple the notarization ticketlog "essential" "Stapling notarization ticket..."-xcrun stapler staple ./.release/lume.pkg > /dev/null 2>&1+if ! xcrun stapler staple ./.release/lume.pkg > /dev/null 2>&1; then+ log "error" "Failed to staple notarization ticket"+ exit 1+fi# Create temporary directory for package extractionEXTRACT_ROOT=$(mktemp -d)