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: 9789cd976f727caacd42f7cb660a5d8cb2b74f5b
4
- data.tar.gz: ec67e1d5065ab11f00bbd79efbe013b1a4de508f
3
+ metadata.gz: a28ba7e8ec488dc83ba98cd1c857e060cae53a2e
4
+ data.tar.gz: ee0dc724739434c54545af27db425d1f71dc2dee
5
5
  SHA512:
6
- metadata.gz: 24247b746914b30fbd908983639f11f06fa6c0e6ba0aba820be2082bb9a247d63c18fb2838f3ab9d9f4e264c71d284594fe965af5c9662d840698e07f2b96885
7
- data.tar.gz: 7cb863833920e40e49eab5eed4f9527bd9e8b5d21533c033f2e778b11cd6f6a9313dae6b67d9cff8c06136344d7e2e5d31f5ecdc51a2cf106f446418afacb3f2
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
- Helper::AppliveryHelper.parse_error(response.error)
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 Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
75
+ return ipa_path
76
+ elsif :android and !aab_path.blank?
77
+ return aab_path
72
78
  else
73
- return Actions.lane_context[Actions::SharedValues::GRADLE_APK_OUTPUT_PATH]
79
+ return apk_path
74
80
  end
75
81
  end
76
82
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Applivery
3
- VERSION = "2.1.0"
3
+ VERSION = "2.2.0"
4
4
  end
5
5
  end
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.1.0
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: 2019-09-27 00:00:00.000000000 Z
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/applivery/fastlane-applivery-plugin
109
+ homepage: https://github.com/fastlane-community/fastlane-plugin-applivery
110
110
  licenses:
111
111
  - MIT
112
112
  metadata: {}