fastlane-plugin-fir_cli 2.0.11 → 2.0.15.1

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: 8489bab60f07b62d5edd4c069076b89f341262d07565bdbaa167a5d8893b07ce
4
- data.tar.gz: 6cd97580b887042d7a8f3f6c104ad6d92737f32f2594154c3131d434163122e3
3
+ metadata.gz: a55bf584cbce8bf81f80a91bf7e8a84748493290193c14947f5a574767f23a53
4
+ data.tar.gz: 97a9b161af75217e1ca816a9b47fcf1f14dbb495273a95c83110c023f365d4ad
5
5
  SHA512:
6
- metadata.gz: 5e86fd7cd54c0b0c515d9490dcf05a8a4dc7b119c0c5bb3b257eaaa0481814814c3e5582220c5fcf3d3182ec2f104d81b03d5149ea9575d7755f0875960c1a06
7
- data.tar.gz: 8bbace78ca906df882b63989d75859916f59e5ff7239b2b382b9683b8cba642da2453f2c04907c94b06052105ab2657a25a63d3b6105f5744b8c806f021a87fc
6
+ metadata.gz: aa85cc69f656e207899015a76da6d955e3a18e1b15e9fd1cda88001ba1fb40d8d3a77b6ce7387e5b69d70de78f5f0e01f7d18cbbfc14b22a8234ac5a2d940e2e
7
+ data.tar.gz: 20719bc231f8e88327fbb42d0c117404c1d29c11c58bb9a4de1320a740832bb6813fecd9b63a3154b7bbb5d9a4c450df3e1dd73ddcabfbd304e7402005e31ad7
data/README.md CHANGED
@@ -29,33 +29,34 @@ most of params in this plugin copied directly from fir-cli publish params ([fir-
29
29
 
30
30
 
31
31
  ```
32
- +-------------------------+------------------------------------+-----------------------------+---------+
33
- | fir_cli Options |
34
- +-------------------------+------------------------------------+-----------------------------+---------+
35
- | Key | Description | Env Var | Default |
36
- +-------------------------+------------------------------------+-----------------------------+---------+
37
- | api_token | A description of your option | FIR_CLI_API_TOKEN | |
38
- | specify_file_path | FILE APP PATH | FIR_SPECIFY_FILE_PATH | |
39
- | short | fir short | FIR_APP_SHORT | |
40
- | force_pin_history | pin this release to download page | FIR_APP_FORCE_PIN_HISTORY | false |
41
- | skip_update_icon | skip upload icon | FIR_APP_SKIP_UPDATE_ICON | false |
42
- | specify_icon_file | APP ICON FILE PATH | FIR_SPECIFY_ICON_FILE_PATH | |
43
- | changelog | changelog path or content | FIR_APP_CHANGELOG | |
44
- | open | true/false if open for everyone | FIR_APP_OPEN | true |
45
- | password | Set password for app | FIR_APP_PASSWORD | |
46
- | switch_to_qiniu | switch to qiniu upload | FIR_SWITCH_TO_QINIU | false |
47
- | need_release_id | would build download url with | FIR_NEED_RELEASE_ID | false |
48
- | | release id | | |
49
- | dingtalk_access_token | dingtalk_access_token | FIR_DINGTALK_ACCESS_TOKEN | |
50
- | dingtalk_custom_message | dingtalk custom message | FIR_DINGTALK_CUSTOM_MESSAGE | |
51
- | dingtalk_at_phones | dingtalk at phones, split with ',' | FIR_DINGTALK_AT_PHONES | |
52
- | dingtalk_at_all | dingtalk at all people | FIR_DINGTALK_AT_ALL | |
53
- | feishu_access_token | feishu_access_token | FIR_FEISHU_ACCESS_TOKEN | |
54
- | feishu_custom_message | feishu custom message | FIR_FEISHU_CUSTOM_MESSAGE | |
55
- | wxwork_access_token | wechat work webhook access_token | FIR_WXWORK_ACCESS_TOKEN | |
56
- | wxwork_pic_url | wechat work webhook pic url | FIR_WXWORK_PIC_URL | |
57
- | wxwork_custom_message | wechat work custom message | FIR_WXWORK_CUSTOM_MESSAGE | |
58
- +-------------------------+------------------------------------+-----------------------------+---------+
32
+ +--------------------------+------------------------------------+------------------------------+---------+
33
+ | fir_cli Options |
34
+ +--------------------------+------------------------------------+------------------------------+---------+
35
+ | Key | Description | Env Var | Default |
36
+ +--------------------------+------------------------------------+------------------------------+---------+
37
+ | api_token | A description of your option | FIR_CLI_API_TOKEN | |
38
+ | specify_file_path | FILE APP PATH | FIR_SPECIFY_FILE_PATH | |
39
+ | short | fir short | FIR_APP_SHORT | |
40
+ | force_pin_history | pin this release to download page | FIR_APP_FORCE_PIN_HISTORY | false |
41
+ | skip_update_icon | skip upload icon | FIR_APP_SKIP_UPDATE_ICON | false |
42
+ | specify_icon_file | APP ICON FILE PATH | FIR_SPECIFY_ICON_FILE_PATH | |
43
+ | changelog | changelog path or content | FIR_APP_CHANGELOG | |
44
+ | open | true/false if open for everyone | FIR_APP_OPEN | true |
45
+ | password | Set password for app | FIR_APP_PASSWORD | |
46
+ | switch_to_qiniu | switch to qiniu upload | FIR_SWITCH_TO_QINIU | false |
47
+ | need_release_id | would build download url with | FIR_NEED_RELEASE_ID | false |
48
+ | | release id | | |
49
+ | specify_app_display_name | specify app display name | FIR_SPECIFY_APP_DISPLAY_NAME | |
50
+ | dingtalk_access_token | dingtalk_access_token | FIR_DINGTALK_ACCESS_TOKEN | |
51
+ | dingtalk_custom_message | dingtalk custom message | FIR_DINGTALK_CUSTOM_MESSAGE | |
52
+ | dingtalk_at_phones | dingtalk at phones, split with ',' | FIR_DINGTALK_AT_PHONES | |
53
+ | dingtalk_at_all | dingtalk at all people | FIR_DINGTALK_AT_ALL | |
54
+ | feishu_access_token | feishu_access_token | FIR_FEISHU_ACCESS_TOKEN | |
55
+ | feishu_custom_message | feishu custom message | FIR_FEISHU_CUSTOM_MESSAGE | |
56
+ | wxwork_access_token | wechat work webhook access_token | FIR_WXWORK_ACCESS_TOKEN | |
57
+ | wxwork_pic_url | wechat work webhook pic url | FIR_WXWORK_PIC_URL | |
58
+ | wxwork_custom_message | wechat work custom message | FIR_WXWORK_CUSTOM_MESSAGE | |
59
+ +--------------------------+------------------------------------+------------------------------+---------+
59
60
  ```
60
61
 
61
62
 
@@ -1,12 +1,11 @@
1
- require 'fastlane/action'
2
- require 'fir'
1
+ require "fastlane/action"
2
+ require "fir"
3
3
  # require 'byebug'
4
- require_relative '../helper/fir_cli_helper'
4
+ require_relative "../helper/fir_cli_helper"
5
5
 
6
6
  module Fastlane
7
7
  module Actions
8
8
  class FirCliAction < Action
9
-
10
9
  def self.run(params)
11
10
  UI.message("The fir_cli plugin is working!")
12
11
 
@@ -22,24 +21,28 @@ module Fastlane
22
21
  password: params[:password],
23
22
  need_release_id: params[:need_release_id],
24
23
  short: params[:short],
25
- dingtalk_access_token: params[:dingtalk_access_token],
26
24
  switch_to_qiniu: params[:switch_to_qiniu],
25
+ specify_app_display_name: params[:specify_app_display_name],
26
+
27
+ dingtalk_access_token: params[:dingtalk_access_token],
27
28
  dingtalk_custom_message: params[:dingtalk_custom_message],
28
29
  dingtalk_at_phones: params[:dingtalk_at_phones],
29
30
  dingtalk_at_all: params[:dingtalk_at_all],
30
-
31
+ dingtalk_secret: params[:dingtalk_secret],
32
+ oversea_turbo: params[:oversea_turbo],
33
+
31
34
  feishu_access_token: params[:feishu_access_token],
32
35
  feishu_custom_message: params[:feishu_custom_message],
33
36
 
34
37
  wxwork_access_token: params[:wxwork_access_token],
35
38
  wxwork_custom_message: params[:wxwork_custom_message],
36
- wxwork_pic_url: params[:wxwork_pic_url]
37
-
38
- }.reject {|_k, v| v.nil?}
39
+ wxwork_pic_url: params[:wxwork_pic_url],
40
+
41
+ }.reject { |_k, v| v.nil? }
39
42
  answer = Helper::FirHelper.publish(fir_args, options)
40
43
  UI.message("fastlane-plugin-fir_cli answer: #{answer}")
41
44
  answer
42
- end
45
+ end
43
46
 
44
47
  def self.description
45
48
  "upload ipa or apk to fir.im using fir-cli (This plugin is maintained by fir.im official)"
@@ -120,6 +123,13 @@ module Fastlane
120
123
  default_value: false,
121
124
  type: Boolean,
122
125
  optional: true),
126
+ FastlaneCore::ConfigItem.new(key: :specify_app_display_name,
127
+ env_name: "FIR_SPECIFY_APP_DISPLAY_NAME",
128
+ description: "specify app display name",
129
+ default_value: nil,
130
+ type: String,
131
+ optional: true),
132
+
123
133
  FastlaneCore::ConfigItem.new(key: :dingtalk_access_token,
124
134
  env_name: "FIR_DINGTALK_ACCESS_TOKEN",
125
135
  description: "dingtalk_access_token",
@@ -129,37 +139,48 @@ module Fastlane
129
139
  description: "dingtalk custom message",
130
140
  optional: true),
131
141
  FastlaneCore::ConfigItem.new(key: :dingtalk_at_phones,
132
- env_name: "FIR_DINGTALK_AT_PHONES",
133
- description: "dingtalk at phones, split with ','",
134
- optional: true),
142
+ env_name: "FIR_DINGTALK_AT_PHONES",
143
+ description: "dingtalk at phones, split with ','",
144
+ optional: true),
135
145
  FastlaneCore::ConfigItem.new(key: :dingtalk_at_all,
136
- env_name: "FIR_DINGTALK_AT_ALL",
137
- description: "dingtalk at all people",
138
- type: Boolean,
139
- optional: true),
146
+ env_name: "FIR_DINGTALK_AT_ALL",
147
+ description: "dingtalk at all people",
148
+ type: Boolean,
149
+ optional: true),
150
+
151
+ FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
152
+ env_name: "FIR_DINGTALK_SECRET",
153
+ description: "Dingtalk secret code (eg: SECxxxxx)",
154
+ optional: true),
155
+
156
+ FastlaneCore::ConfigItem.new(key: :oversea_turbo,
157
+ env_name: "FIR_OVERSEA_TURBO",
158
+ description: "fir oversea turbo, increase upload speed for oversea users",
159
+ type: Boolean,
160
+ optional: true),
140
161
 
141
162
  FastlaneCore::ConfigItem.new(key: :feishu_access_token,
142
- env_name: "FIR_FEISHU_ACCESS_TOKEN",
143
- description: "feishu_access_token",
144
- optional: true),
163
+ env_name: "FIR_FEISHU_ACCESS_TOKEN",
164
+ description: "feishu_access_token",
165
+ optional: true),
145
166
  FastlaneCore::ConfigItem.new(key: :feishu_custom_message,
146
- env_name: "FIR_FEISHU_CUSTOM_MESSAGE",
147
- description: "feishu custom message",
148
- optional: true),
167
+ env_name: "FIR_FEISHU_CUSTOM_MESSAGE",
168
+ description: "feishu custom message",
169
+ optional: true),
149
170
 
150
171
  FastlaneCore::ConfigItem.new(key: :wxwork_access_token,
151
- env_name: "FIR_WXWORK_ACCESS_TOKEN",
152
- description: "wechat work webhook access_token",
153
- optional: true),
172
+ env_name: "FIR_WXWORK_ACCESS_TOKEN",
173
+ description: "wechat work webhook access_token",
174
+ optional: true),
154
175
 
155
176
  FastlaneCore::ConfigItem.new(key: :wxwork_pic_url,
156
- env_name: "FIR_WXWORK_PIC_URL",
157
- description: "wechat work webhook pic url",
158
- optional: true),
177
+ env_name: "FIR_WXWORK_PIC_URL",
178
+ description: "wechat work webhook pic url",
179
+ optional: true),
159
180
  FastlaneCore::ConfigItem.new(key: :wxwork_custom_message,
160
- env_name: "FIR_WXWORK_CUSTOM_MESSAGE",
161
- description: "wechat work custom message",
162
- optional: true)
181
+ env_name: "FIR_WXWORK_CUSTOM_MESSAGE",
182
+ description: "wechat work custom message",
183
+ optional: true),
163
184
 
164
185
  ]
165
186
  end
@@ -176,6 +197,5 @@ module Fastlane
176
197
  file_path || Actions.lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH] || Actions.lane_context[SharedValues::IPA_OUTPUT_PATH]
177
198
  end
178
199
  end
179
-
180
200
  end
181
201
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirCli
3
- VERSION = "2.0.11"
3
+ VERSION = "2.0.15.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-fir_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.11
4
+ version: 2.0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - atpking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-07 00:00:00.000000000 Z
11
+ date: 2022-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fir-cli
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.0.11
19
+ version: 2.0.15
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.0.11
26
+ version: 2.0.15
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.0.3
198
+ rubygems_version: 3.1.6
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: upload ipa or apk to fir.im