Skip to content

Commit

Permalink
Merge pull request #4 from appcircleio/feature/SP-257
Browse files Browse the repository at this point in the history
#SP-257 Fix undefined method on Linux
  • Loading branch information
hiilhan authored Oct 1, 2024
2 parents 7274c2d + a6e7c6d commit 703cf07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,12 @@ def self.ac_upload(token, appPath, profileID, message)
response = TDUploadService.upload_artifact(token: token, message: message, app: appPath, dist_profile_id: profileID)
result = self.checkTaskStatus(token, response['taskId'])

if $?.success? and result
if result
UI.success("#{appPath} Uploaded to profile id #{profileID} successfully 🎉")
end
rescue => e
UI.error("Upload failed with status code #{e.response.code}, with message '#{e.message}'")
status_code = e.respond_to?(:response) && e.response ? e.response.code : 'unknown'
UI.error("Upload failed with status code #{status_code}, with message '#{e.message}'")
end
end

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Fastlane
module AppcircleTestingDistribution
VERSION = "0.2.0"
VERSION = "0.2.1"
end
end

0 comments on commit 703cf07

Please sign in to comment.