Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Fail loudly when the transporter returns a non-zero exit code.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredjean committed Apr 14, 2015
1 parent c915aa0 commit f03b06e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/shenzhen/plugins/itunesconnect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def transport
output = `#{command} 2> /dev/null`
puts output.chomp if $verbose

raise 'Failed to upload package to iTunes Connect' unless $?.exitstatus == 0

output
end

Expand Down

0 comments on commit f03b06e

Please sign in to comment.