fastlane-plugin-fir_cli 2.0.1.1 → 2.0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -3
- data/lib/fastlane/plugin/fir_cli/actions/fir_cli_action.rb +8 -1
- data/lib/fastlane/plugin/fir_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0be02920e7dedf8123cac707cc2ee3113e70dfe28a8c34d25e603e78ad20508c
|
4
|
+
data.tar.gz: 74dccb75176a4563b132b456e22eed9e983d0aaefc92f51f242a4d6fee6f883e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9547351056beb5a49c2bd0cbb0de6d9a74a76f4cc4c22c59fd96564044065621df4d3e4c00e420d33ad79536d5254bfa93c2fdf7a7e7ed711224a25053fee866
|
7
|
+
data.tar.gz: 0bdd1f6a5bbab855eb11caa6f2e35a96ec2feb08b1bdc904a9e2847fe123985ace27e7fafc9c8e6d5182c1667adbbe6ba3cdfa958391562cb45476c267f17ae1
|
data/README.md
CHANGED
@@ -22,6 +22,28 @@ run `fastlane action fir_cli` in terminal to lookup the details.
|
|
22
22
|
|
23
23
|
在命令行中运行 `fastlane action fir_cli` 查看细节.
|
24
24
|
|
25
|
+
```
|
26
|
+
+-------------------------+------------------------------------------+-----------------------------+---------+
|
27
|
+
| fir_cli Options |
|
28
|
+
+-------------------------+------------------------------------------+-----------------------------+---------+
|
29
|
+
| Key | Description | Env Var | Default |
|
30
|
+
+-------------------------+------------------------------------------+-----------------------------+---------+
|
31
|
+
| api_token | A description of your option | FIR_CLI_API_TOKEN | |
|
32
|
+
| specify_file_path | FILE APP PATH | FIR_SPECIFY_FILE_PATH | |
|
33
|
+
| short | fir short | FIR_APP_short | |
|
34
|
+
| force_pin_history | pin this release to download page | FIR_APP_FORCE_PIN_HISTORY | false |
|
35
|
+
| skip_update_icon | skip upload icon | FIR_APP_SKIP_UPDATE_ICON | false |
|
36
|
+
| specify_icon_file | APP ICON FILE PATH | FIR_SPECIFY_ICON_FILE_PATH | |
|
37
|
+
| changelog | changelog path or content | FIR_APP_CHANGELOG | |
|
38
|
+
| open | true/false if open for everyone | FIR_APP_OPEN | true |
|
39
|
+
| password | Set password for app | FIR_APP_PASSWORD | |
|
40
|
+
| switch_to_qiniu | switch to qiniu upload | FIR_SWITCH_TO_QINIU | false |
|
41
|
+
| need_release_id | would build download url with release id | fir_need_release_id | false |
|
42
|
+
| dingtalk_access_token | dingtalk_access_token | FIR_DINGTALK_ACCESS_TOKEN | |
|
43
|
+
| dingtalk_custom_message | dingtalk custom message | FIR_DINGTALK_CUSTOM_MESSAGE | |
|
44
|
+
+-------------------------+------------------------------------------+-----------------------------+---------+
|
45
|
+
```
|
46
|
+
|
25
47
|
|
26
48
|
## Example
|
27
49
|
|
@@ -36,8 +58,8 @@ platform :ios do
|
|
36
58
|
lane :gofir do
|
37
59
|
gym export_method: "ad-hoc"
|
38
60
|
|
39
|
-
# 多个参数 可以使用逗号 分离
|
40
|
-
fir_cli api_token: "YOUR FIR API TOKEN"
|
61
|
+
# 多个参数 可以使用逗号(, )分离
|
62
|
+
fir_cli api_token: "YOUR FIR API TOKEN", changelog: "Hello fir.im"
|
41
63
|
|
42
64
|
end
|
43
65
|
end
|
@@ -82,4 +104,4 @@ For more information about how the `fastlane` plugin system works, check out the
|
|
82
104
|
|
83
105
|
## About _fastlane_
|
84
106
|
|
85
|
-
_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
107
|
+
_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
@@ -20,6 +20,7 @@ module Fastlane
|
|
20
20
|
changelog: params[:changelog],
|
21
21
|
open: params[:open],
|
22
22
|
password: params[:password],
|
23
|
+
need_release_id: params[:need_release_id],
|
23
24
|
short: params[:short],
|
24
25
|
dingtalk_access_token: params[:dingtalk_access_token],
|
25
26
|
switch_to_qiniu: params[:switch_to_qiniu],
|
@@ -100,6 +101,12 @@ module Fastlane
|
|
100
101
|
default_value: false,
|
101
102
|
type: Boolean,
|
102
103
|
optional: true),
|
104
|
+
FastlaneCore::ConfigItem.new(key: :need_release_id,
|
105
|
+
env_name: "fir_need_release_id",
|
106
|
+
description: "would build download url with release id",
|
107
|
+
default_value: false,
|
108
|
+
type: Boolean,
|
109
|
+
optional: true),
|
103
110
|
FastlaneCore::ConfigItem.new(key: :dingtalk_access_token,
|
104
111
|
env_name: "FIR_DINGTALK_ACCESS_TOKEN",
|
105
112
|
description: "dingtalk_access_token",
|
@@ -128,7 +135,7 @@ module Fastlane
|
|
128
135
|
class FirHelper
|
129
136
|
include FIR::Util
|
130
137
|
|
131
|
-
|
138
|
+
FIR::VERSION = "#{FIR::VERSION}-Fastlane-#{Fastlane::FirCli::VERSION}"
|
132
139
|
class << self
|
133
140
|
def logger
|
134
141
|
@logger ||= Logger.new(STDOUT)
|
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.1.
|
4
|
+
version: 2.0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- atpking
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fir-cli
|