We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd279bd commit ef9d917Copy full SHA for ef9d917
1 file changed
scripts/reload.sh
@@ -284,8 +284,11 @@ fi
284
XCODEBUILD_ARGS+=(build)
285
286
XCODE_LOG="/tmp/cmux-xcodebuild-${TAG_SLUG}.log"
287
-xcodebuild "${XCODEBUILD_ARGS[@]}" 2>&1 | tee "$XCODE_LOG" | grep -E '(warning:|error:|fatal:|BUILD FAILED|BUILD SUCCEEDED|\*\* BUILD)' || true
288
-XCODE_EXIT="${PIPESTATUS[0]}"
+set +e
+xcodebuild "${XCODEBUILD_ARGS[@]}" 2>&1 | tee "$XCODE_LOG" | grep -E '(warning:|error:|fatal:|BUILD FAILED|BUILD SUCCEEDED|\*\* BUILD)'
289
+XCODE_PIPESTATUS=("${PIPESTATUS[@]}")
290
+set -e
291
+XCODE_EXIT="${XCODE_PIPESTATUS[0]}"
292
echo "Full build log: $XCODE_LOG"
293
if [[ "$XCODE_EXIT" -ne 0 ]]; then
294
echo "error: xcodebuild failed with exit code $XCODE_EXIT" >&2
0 commit comments