Skip to content

Commit

Permalink
fix: Attempt to surface errors, ideally I want to be able to watch fo…
Browse files Browse the repository at this point in the history
…r the error code and have fastlane error if the error code != 0 or != 2
  • Loading branch information
othyn committed Jul 3, 2023
1 parent f2bfef7 commit cb79d84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}

Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit cb79d84

Please sign in to comment.