From cb79d84e33da15292e249e929e42fbc5d06d54d3 Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 3 Jul 2023 02:51:11 +0100 Subject: [PATCH] fix: Attempt to surface errors, ideally I want to be able to watch for the error code and have fastlane error if the error code != 0 or != 2 --- fastlane/Fastfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 5d8c6a4..87783cd 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -22,6 +22,7 @@ platform :mac do # which fastlane will flag as an error. However if the DMG fails to build, it will be an exit code of 1. # It would be great if I could check the exit code and only flag as no error if the exit code is 2, # but this does not appear to be possible + print(result) error_occurred = false } end @@ -100,6 +101,7 @@ platform :mac do # which fastlane will flag as an error. However if the DMG fails to build, it will be an exit code of 1. # It would be great if I could check the exit code and only flag as no error if the exit code is 2, # but this does not appear to be possible + print(result) error_occurred = false } @@ -203,6 +205,7 @@ platform :mac do # which fastlane will flag as an error. However if the DMG fails to build, it will be an exit code of 1. # It would be great if I could check the exit code and only flag as no error if the exit code is 2, # but this does not appear to be possible + print(result) error_occurred = false }