fastlane-plugin-fir_cli 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +27 -19
- data/lib/fastlane/plugin/fir_cli/actions/fir_cli_action.rb +20 -1
- data/lib/fastlane/plugin/fir_cli/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8543cbd5802086cac3eb9c897a6220a42b05ba009f4fc7e36cda8aff323f642
|
4
|
+
data.tar.gz: 50e568998f92ca4997f3d97f5250294d4bf4da4f7e514317363e8275163f0c50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 986810d3e803148ee4e4280c30ea85fe2a405fbbb6d9f6c8292ef7e2e007685d2c3bcb2917204c768402cafb70f82b28abf82d42cac924c45a90df44ca572130
|
7
|
+
data.tar.gz: 16543e8d2c75e2445f011d039a0f31b45fa2e6e346b22da46c2933c3c9fe293b5282aebe2936898816a8cda3da7a2b6fafd1d7da7881566f89f6934f68a31e20
|
data/README.md
CHANGED
@@ -29,25 +29,33 @@ 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 | Description
|
36
|
-
|
37
|
-
| api_token | A description of your option
|
38
|
-
| specify_file_path | FILE APP PATH
|
39
|
-
| short | fir short
|
40
|
-
| force_pin_history | pin this release to download page
|
41
|
-
| skip_update_icon | skip upload icon
|
42
|
-
| specify_icon_file | APP ICON FILE PATH
|
43
|
-
| changelog | changelog path or content
|
44
|
-
| open | true/false if open for everyone
|
45
|
-
| password | Set password for app
|
46
|
-
| switch_to_qiniu | switch to qiniu upload
|
47
|
-
| need_release_id | would build download url with
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
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
|
+
+-------------------------+------------------------------------+-----------------------------+---------+
|
51
59
|
```
|
52
60
|
|
53
61
|
|
@@ -29,7 +29,11 @@ module Fastlane
|
|
29
29
|
dingtalk_at_all: params[:dingtalk_at_all],
|
30
30
|
|
31
31
|
feishu_access_token: params[:feishu_access_token],
|
32
|
-
feishu_custom_message: params[:feishu_custom_message]
|
32
|
+
feishu_custom_message: params[:feishu_custom_message],
|
33
|
+
|
34
|
+
wxwork_access_token: params[:wxwork_access_token],
|
35
|
+
wxwork_custom_message: params[:wxwork_custom_message],
|
36
|
+
wxwork_pic_url: params[:wxwork_pic_url]
|
33
37
|
|
34
38
|
}.reject {|_k, v| v.nil?}
|
35
39
|
answer = FirHelper.publish(fir_args, options)
|
@@ -132,6 +136,7 @@ module Fastlane
|
|
132
136
|
description: "dingtalk at all people",
|
133
137
|
type: Boolean,
|
134
138
|
optional: true),
|
139
|
+
|
135
140
|
FastlaneCore::ConfigItem.new(key: :feishu_access_token,
|
136
141
|
env_name: "FIR_FEISHU_ACCESS_TOKEN",
|
137
142
|
description: "feishu_access_token",
|
@@ -141,6 +146,20 @@ module Fastlane
|
|
141
146
|
description: "feishu custom message",
|
142
147
|
optional: true),
|
143
148
|
|
149
|
+
FastlaneCore::ConfigItem.new(key: :wxwork_access_token,
|
150
|
+
env_name: "FIR_WXWORK_ACCESS_TOKEN",
|
151
|
+
description: "wechat work webhook access_token",
|
152
|
+
optional: true),
|
153
|
+
|
154
|
+
FastlaneCore::ConfigItem.new(key: :wxwork_pic_url,
|
155
|
+
env_name: "FIR_WXWORK_PIC_URL",
|
156
|
+
description: "wechat work webhook pic url",
|
157
|
+
optional: true),
|
158
|
+
FastlaneCore::ConfigItem.new(key: :wxwork_custom_message,
|
159
|
+
env_name: "FIR_WXWORK_CUSTOM_MESSAGE",
|
160
|
+
description: "wechat work custom message",
|
161
|
+
optional: true)
|
162
|
+
|
144
163
|
]
|
145
164
|
end
|
146
165
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- atpking
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-26 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.9
|
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.9
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|