fastlane-plugin-tpa 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
  SHA256:
3
- metadata.gz: 9b33f7eb300412978f4f88b0006bd328b1772ffd42259e8fbcf4b03edda6281d
4
- data.tar.gz: '0828d5c80aaaf3a469c47dd13c7b267f8f18a25d20fc252895a82963bf042b92'
3
+ metadata.gz: 7bdbbf177b62934bd8e777acd73ddceb2efc0b2d7b49e3a18b971d5827770ca8
4
+ data.tar.gz: d26c1980c614b39ca66982c25d7adebe67f8405dea17249a5e327d56332ba949
5
5
  SHA512:
6
- metadata.gz: 3b5330d4c162f8149fe9be10dfd43ddc0f58a6c7515e75b7ddb1c83819fd498062a0c68f6bd4f8525ef0baa243bca262bab65ba6a4597db232cdf4186dd2cc2c
7
- data.tar.gz: f15c84d849a36521aca5398f319a54bbaedc96e243ecfa20cda76c0af952138f0a139960dc96b4fbe3716d432b1cc70cf44721c2d152eb2a2cdd514ac8ce0ff6
6
+ metadata.gz: 51413b56361eb42b20827c819cb00d602493e17736de04cfbfeb6ef21eaa7a44e7b053f193451f846d21ede674a321adb997a29ca02ee743dd8811a667c83595
7
+ data.tar.gz: 6a9a9afa3815d946eee5a20787c47a230cbd031ee4df0729726d63c8875b106cb9856975227c05eb72e8f9337d6b11c415ab60fc9a2300695e003c673e73db67
data/README.md CHANGED
@@ -24,13 +24,22 @@ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To ge
24
24
  fastlane add_plugin tpa
25
25
  ```
26
26
 
27
+ ### Environment Variables
28
+
29
+ It can be very helpful to set up your TPA credentials in .env files. The following keys are available:
30
+
31
+ - `FL_TPA_BASE_URL`: The base url for your TPA instance
32
+ - `FL_TPA_API_UUID`: The API UUID for your TPA project
33
+ - `FL_TPA_API_KEY`: Your personal TPA API key
34
+
27
35
  ## Overview
28
36
 
29
- This plugin makes interacting with TPA easy by providing you actions to upload `.ipa`, `.apk` and `.dSYM` files directly to TPA.
37
+ This plugin makes interacting with TPA easy by providing you actions to upload `.ipa`, `.apk`, `.aab` and `.dSYM` files directly to TPA.
30
38
 
31
39
  In particular, this plugin provides the following two actions:
32
40
 
33
- - [`upload_to_tpa`](#upload_to_tpa): uploads either an iOS `.ipa` app together with its corresponding `dSYM` to TPA. It is also capable of uploading an Android `.apk` app to TPA.
41
+ - [`upload_to_tpa`](#upload_to_tpa): uploads either an iOS `.ipa` app together with its corresponding `dSYM` to TPA. It is also capable of uploading an Android `.apk` or `.aab` app to TPA.
42
+ - [`tpa`](#upload_to_tpa) alias for `upload_to_tpa`
34
43
  - [`upload_symbols_to_tpa`](#upload_symbols_to_tpa): Uploads only dSYM files to TPA
35
44
 
36
45
  ### upload_to_tpa
@@ -73,20 +82,6 @@ lane :refresh_dsym do
73
82
  end
74
83
  ```
75
84
 
76
- ## Available for `tpa.io` Domains
77
-
78
- If you are using a managed version of TPA (for example `{your-subdomain.tpa.io}`, then feel free to use the latest version of this plugin. In your `Pluginfile` it should simply be written:
79
-
80
- ```ruby
81
- gem 'fastlane-plugin-tpa'
82
- ```
83
-
84
- If you do not have a `tpa.io` domain, you will need to use version 1.x.x of this plugin. You can install version 1.x.x by specifying the following in your `Pluginfile`:
85
-
86
- ```ruby
87
- gem 'fastlane-plugin-tpa', '~>1.0'
88
- ```
89
-
90
85
  ## Example
91
86
 
92
87
  Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
@@ -44,7 +44,8 @@ module Fastlane
44
44
  def self.app_file(params)
45
45
  app_file = [
46
46
  params[:ipa],
47
- params[:apk]
47
+ params[:apk],
48
+ params[:aab]
48
49
  ].detect { |e| !e.to_s.empty? }
49
50
 
50
51
  if app_file.nil?
@@ -140,7 +141,7 @@ module Fastlane
140
141
  verify_block: proc do |value|
141
142
  UI.user_error!("Couldn't find ipa file at path '#{value}'") unless File.exist?(value)
142
143
  end,
143
- conflicting_options: [:apk],
144
+ conflicting_options: [:apk, :aab],
144
145
  conflict_block: proc do |value|
145
146
  UI.user_error!("You can't use 'ipa' and '#{value.key}' options in one run")
146
147
  end),
@@ -152,10 +153,22 @@ module Fastlane
152
153
  verify_block: proc do |value|
153
154
  UI.user_error!("Couldn't find apk file at path '#{value}'") unless File.exist?(value)
154
155
  end,
155
- conflicting_options: [:ipa],
156
+ conflicting_options: [:aab, :ipa],
156
157
  conflict_block: proc do |value|
157
158
  UI.user_error!("You can't use 'apk' and '#{value.key}' options in one run")
158
159
  end),
160
+ FastlaneCore::ConfigItem.new(key: :aab,
161
+ env_name: "FL_TPA_AAB",
162
+ description: "Path to your AAB file",
163
+ default_value: Actions.lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH],
164
+ optional: true,
165
+ verify_block: proc do |value|
166
+ UI.user_error!("Couldn't find aab file at path '#{value}'") unless File.exist?(value)
167
+ end,
168
+ conflicting_options: [:apk, :ipa],
169
+ conflict_block: proc do |value|
170
+ UI.user_error!("You can't use 'aab' and '#{value.key}' options in one run")
171
+ end),
159
172
  FastlaneCore::ConfigItem.new(key: :mapping,
160
173
  env_name: "FL_TPA_MAPPING",
161
174
  description: "Path to your symbols files. For iOS provide path to app.dSYM.zip. For Android provide path to mappings.txt file. For React-Native also provide paths to your source-maps",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Tpa
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-tpa
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
  - The Perfect App
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-19 00:00:00.000000000 Z
11
+ date: 2020-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 2.100.1
159
+ version: 2.127.2
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: 2.100.1
166
+ version: 2.127.2
167
167
  description:
168
168
  email: support@theperfectapp.com
169
169
  executables: []