./lib/shenzhen/plugins/testflight.rb in shenzhen-0.7.0 vs ./lib/shenzhen/plugins/testflight.rb in shenzhen-0.7.1
- old
+ new
@@ -80,9 +80,10 @@
client = Shenzhen::Plugins::TestFlight::Client.new(@api_token, @team_token)
response = client.upload_build(@file, parameters)
case response.status
when 200...300
say_ok "Build successfully uploaded to TestFlight"
+ return response.body
else
say_error "Error uploading to TestFlight: #{response.body}" and abort
end
end