fastlane-plugin-applivery 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a28ba7e8ec488dc83ba98cd1c857e060cae53a2e
|
4
|
+
data.tar.gz: ee0dc724739434c54545af27db425d1f71dc2dee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8f3c77597c6f0c18078272b657163bf42758d7b3a9cc02007198598227d4a584fa66c59381fea72b5caa4c6820f97060d9622ecb7b27bba69976b39a9bc8c12
|
7
|
+
data.tar.gz: bddd45d51bf5fd43f0a9cb41d74f0cb5870796749529be345c29455d2072f818af11873a791edda482b7b791c44fca9a155c8ba95bce3e0f83f6a9855369e3fc
|
@@ -54,23 +54,29 @@ module Fastlane
|
|
54
54
|
end
|
55
55
|
UI.verbose "Response Body: #{response.body}"
|
56
56
|
status = response.body["status"]
|
57
|
-
Actions.lane_context[SharedValues::APPLIVERY_BUILD_ID] = response.body["data"]["id"]
|
58
57
|
if status
|
59
58
|
UI.success "Build uploaded succesfully! 💪"
|
59
|
+
Actions.lane_context[SharedValues::APPLIVERY_BUILD_ID] = response.body["data"]["id"]
|
60
60
|
else
|
61
61
|
UI.error "Oops! Something went wrong.... 🔥"
|
62
|
-
|
62
|
+
error = response.body["error"]
|
63
|
+
Helper::AppliveryHelper.parse_error(error)
|
63
64
|
end
|
64
65
|
|
65
66
|
end
|
66
67
|
|
67
68
|
def self.build_path
|
68
69
|
platform = Actions.lane_context[Actions::SharedValues::PLATFORM_NAME]
|
70
|
+
ipa_path = Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
|
71
|
+
aab_path = Actions.lane_context[Actions::SharedValues::GRADLE_AAB_OUTPUT_PATH]
|
72
|
+
apk_path = Actions.lane_context[Actions::SharedValues::GRADLE_APK_OUTPUT_PATH]
|
69
73
|
|
70
74
|
if platform == :ios
|
71
|
-
return
|
75
|
+
return ipa_path
|
76
|
+
elsif :android and !aab_path.blank?
|
77
|
+
return aab_path
|
72
78
|
else
|
73
|
-
return
|
79
|
+
return apk_path
|
74
80
|
end
|
75
81
|
end
|
76
82
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-applivery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alejandro Jimenez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -106,7 +106,7 @@ files:
|
|
106
106
|
- lib/fastlane/plugin/applivery/actions/applivery_action.rb
|
107
107
|
- lib/fastlane/plugin/applivery/helper/applivery_helper.rb
|
108
108
|
- lib/fastlane/plugin/applivery/version.rb
|
109
|
-
homepage: https://github.com/
|
109
|
+
homepage: https://github.com/fastlane-community/fastlane-plugin-applivery
|
110
110
|
licenses:
|
111
111
|
- MIT
|
112
112
|
metadata: {}
|