Skip to content

Commit

Permalink
Merge branch 'release/v2.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Alesete committed Mar 29, 2020
2 parents ce8a545 + 6e0b125 commit e1b0d6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/fastlane/plugin/applivery/actions/applivery_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,13 @@ def self.run(params)
end
UI.verbose "Response Body: #{response.body}"
status = response.body["status"]
Actions.lane_context[SharedValues::APPLIVERY_BUILD_ID] = response.body["data"]["id"]
if status
UI.success "Build uploaded succesfully! 💪"
Actions.lane_context[SharedValues::APPLIVERY_BUILD_ID] = response.body["data"]["id"]
else
UI.error "Oops! Something went wrong.... 🔥"
Helper::AppliveryHelper.parse_error(response.error)
error = response.body["error"]
Helper::AppliveryHelper.parse_error(error)
end

end
Expand Down
2 changes: 1 addition & 1 deletion lib/fastlane/plugin/applivery/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Fastlane
module Applivery
VERSION = "2.1.0"
VERSION = "2.2.0"
end
end

0 comments on commit e1b0d6e

Please sign in to comment.