fastlane-plugin-fir_cli 2.0.10 → 2.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +28 -27
- data/lib/fastlane/plugin/fir_cli/actions/fir_cli_action.rb +28 -5
- data/lib/fastlane/plugin/fir_cli/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d94cf0edd1607216198d47e463e9059a4f7c4f334806d98479fe99ebade083c7
|
|
4
|
+
data.tar.gz: 0d0d9458bcf2faf2a53b730882cffb4291e096f76f19b872136a9dc13e0b4eb5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aaf8942572e02897401ae2642bbd68b68d60a4c47e535cce2f46ef21998dcf3dce402fe909b2b04041e0edffbf9ae2bb8d6413bbc21e3ae9d520fadd74524a4e
|
|
7
|
+
data.tar.gz: 5b4eaef02128a4d54eae77c8dca3e61373fb6119f1548a7bf915cf01a3f608b73e5bcd91526c1ee94c09201109184a61353bfeed0c9d9535f78c7aea1806111e
|
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
|
-
|
|
|
34
|
-
|
|
35
|
-
| Key
|
|
36
|
-
|
|
37
|
-
| api_token
|
|
38
|
-
| specify_file_path
|
|
39
|
-
| short
|
|
40
|
-
| force_pin_history
|
|
41
|
-
| skip_update_icon
|
|
42
|
-
| specify_icon_file
|
|
43
|
-
| changelog
|
|
44
|
-
| open
|
|
45
|
-
| password
|
|
46
|
-
| switch_to_qiniu
|
|
47
|
-
| need_release_id
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
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
|
|
|
@@ -6,7 +6,7 @@ require_relative '../helper/fir_cli_helper'
|
|
|
6
6
|
module Fastlane
|
|
7
7
|
module Actions
|
|
8
8
|
class FirCliAction < Action
|
|
9
|
-
|
|
9
|
+
|
|
10
10
|
def self.run(params)
|
|
11
11
|
UI.message("The fir_cli plugin is working!")
|
|
12
12
|
|
|
@@ -22,24 +22,28 @@ module Fastlane
|
|
|
22
22
|
password: params[:password],
|
|
23
23
|
need_release_id: params[:need_release_id],
|
|
24
24
|
short: params[:short],
|
|
25
|
-
dingtalk_access_token: params[:dingtalk_access_token],
|
|
26
25
|
switch_to_qiniu: params[:switch_to_qiniu],
|
|
26
|
+
specify_app_display_name: params[:specify_app_display_name],
|
|
27
|
+
|
|
28
|
+
dingtalk_access_token: params[:dingtalk_access_token],
|
|
27
29
|
dingtalk_custom_message: params[:dingtalk_custom_message],
|
|
28
30
|
dingtalk_at_phones: params[:dingtalk_at_phones],
|
|
29
31
|
dingtalk_at_all: params[:dingtalk_at_all],
|
|
30
|
-
|
|
32
|
+
dingtalk_secret: params[:dingtalk_secret],
|
|
33
|
+
oversea_turbo: params[:oversea_turbo],
|
|
34
|
+
|
|
31
35
|
feishu_access_token: params[:feishu_access_token],
|
|
32
36
|
feishu_custom_message: params[:feishu_custom_message],
|
|
33
37
|
|
|
34
38
|
wxwork_access_token: params[:wxwork_access_token],
|
|
35
39
|
wxwork_custom_message: params[:wxwork_custom_message],
|
|
36
40
|
wxwork_pic_url: params[:wxwork_pic_url]
|
|
37
|
-
|
|
41
|
+
|
|
38
42
|
}.reject {|_k, v| v.nil?}
|
|
39
43
|
answer = Helper::FirHelper.publish(fir_args, options)
|
|
40
44
|
UI.message("fastlane-plugin-fir_cli answer: #{answer}")
|
|
41
45
|
answer
|
|
42
|
-
end
|
|
46
|
+
end
|
|
43
47
|
|
|
44
48
|
def self.description
|
|
45
49
|
"upload ipa or apk to fir.im using fir-cli (This plugin is maintained by fir.im official)"
|
|
@@ -120,6 +124,13 @@ module Fastlane
|
|
|
120
124
|
default_value: false,
|
|
121
125
|
type: Boolean,
|
|
122
126
|
optional: true),
|
|
127
|
+
FastlaneCore::ConfigItem.new(key: :specify_app_display_name,
|
|
128
|
+
env_name: "FIR_SPECIFY_APP_DISPLAY_NAME",
|
|
129
|
+
description: "specify app display name",
|
|
130
|
+
default_value: nil,
|
|
131
|
+
type: String,
|
|
132
|
+
optional: true),
|
|
133
|
+
|
|
123
134
|
FastlaneCore::ConfigItem.new(key: :dingtalk_access_token,
|
|
124
135
|
env_name: "FIR_DINGTALK_ACCESS_TOKEN",
|
|
125
136
|
description: "dingtalk_access_token",
|
|
@@ -138,6 +149,18 @@ module Fastlane
|
|
|
138
149
|
type: Boolean,
|
|
139
150
|
optional: true),
|
|
140
151
|
|
|
152
|
+
FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
|
|
153
|
+
env_name: "FIR_DINGTALK_SECRET",
|
|
154
|
+
description: "Dingtalk secret code (eg: SECxxxxx)",
|
|
155
|
+
optional: true),
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
FastlaneCore::ConfigItem.new(key: :dingtalk_secret,
|
|
159
|
+
env_name: "FIR_OVERSEA_TURBO",
|
|
160
|
+
description: "fir oversea turbo, increase upload speed for oversea users",
|
|
161
|
+
type: Boolean,
|
|
162
|
+
optional: true),
|
|
163
|
+
|
|
141
164
|
FastlaneCore::ConfigItem.new(key: :feishu_access_token,
|
|
142
165
|
env_name: "FIR_FEISHU_ACCESS_TOKEN",
|
|
143
166
|
description: "feishu_access_token",
|
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.
|
|
4
|
+
version: 2.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- atpking
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
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.
|
|
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.
|
|
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.
|
|
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
|