fir-cli 2.0.9 → 2.0.10
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 +35 -10
- data/doc/publish.md +45 -22
- data/fir-cli.gemspec +1 -0
- data/lib/fir/api.yml +1 -0
- data/lib/fir/util/feishu_helper.rb +94 -0
- data/lib/fir/util/publish.rb +4 -10
- data/lib/fir/version.rb +1 -1
- metadata +17 -16
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5acdeeb7784c5b2236e79e1831fc58a1fb0590ec8297eaf958e78a9c19c1274a
|
|
4
|
+
data.tar.gz: 7941c08d66ca7fc14fc273ca4ed66033e23995103d6dceb754bf58b7240bba3c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f0919f278f6be3e872c176065097b9a5b406e441c529bdfed2b06825f0b027c8ed44d165ea11f66d4cf80afa210395f1ac3cf3909aeb326b76cc4a919694a79
|
|
7
|
+
data.tar.gz: ff1b2ff17df4b917759a600ac1932af2d9412117570efab0c6624f9e70a2e250d66f550db9e6695a0a7109ecc407ced75976d9384381f753c076bca65e292cb7
|
data/README.md
CHANGED
|
@@ -14,10 +14,10 @@ fir.im-cli 可以通过指令查看, 上传, iOS/Android 应用.
|
|
|
14
14
|
|
|
15
15
|
# 重大提醒
|
|
16
16
|
- fir.im 更换域名后, 需要升级至 `fir-cli` >= `2.0.4` 有部分用户反馈 2.0.2 无法直接使用 `gem update fir-cli` 升级到 2.0.4, 则可以尝试卸载后重新安装, 即 `gem uninstall fir-cli` 后 `gem install fir-cli`
|
|
17
|
-
|
|
18
|
-
当然还有种解决办法是 更新 `fir-cli` 至 `2.0.5`, 这个版本换到了备用域名
|
|
17
|
+
|
|
19
18
|
|
|
20
19
|
# 最近更新
|
|
20
|
+
- (2.0.10) 飞书支持了 V2 版本的机器人推送
|
|
21
21
|
- (2.0.9) publish 支持了 企业微信通知 可以使用 --wxwork_access_token 或 --wxwork_webhook, 增加了回调超时时间至20秒
|
|
22
22
|
- (2.0.8) publish 支持 飞书通知, 可使用 `feishu_access_token` 和 `feishu_custom_message`, 详情见 `fir publish --help`
|
|
23
23
|
- (2.0.7) 修复了提示 token 错误的问题
|
|
@@ -47,24 +47,49 @@ fir.im-cli 可以通过指令查看, 上传, iOS/Android 应用.
|
|
|
47
47
|
|
|
48
48
|
## 热门问题
|
|
49
49
|
|
|
50
|
+
### 啥是 钉钉 / 企业微信 / 飞书 的 `access_token` ?
|
|
51
|
+
|
|
52
|
+
就是回调地址中的长得最像 access_token 的东西
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
钉钉: https://oapi.dingtalk.com/robot/send?access_token=xxxxx
|
|
56
|
+
就是 xxx 那部分
|
|
57
|
+
|
|
58
|
+
企业微信: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxxx-xxxx-xxxx-xxxx-xxxxx
|
|
59
|
+
就是 xxxxx-xxxx-xxxx-xxxx-xxxxx 那部分
|
|
60
|
+
|
|
61
|
+
https://open.feishu.cn/open-apis/bot/hook/xxxxxxxxxxxxxxxxxxx
|
|
62
|
+
|
|
63
|
+
就是 xxxxxxxxxxxxxxxx 那部分
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
50
71
|
### 如何配合 jenkins 使用?
|
|
51
72
|
|
|
52
73
|
参见 blog [http://blog.betaqr.com/use-fir-cli-in-jenkins/](http://blog.betaqr.com/use-fir-cli-in-jenkins/)
|
|
53
74
|
|
|
54
|
-
|
|
75
|
+
这里有个快速检查脚本, 可以在 jenkins 中新建一个 脚本, 进行检查
|
|
55
76
|
|
|
56
|
-
|
|
77
|
+
```
|
|
78
|
+
#!/bin/bash --login
|
|
57
79
|
|
|
80
|
+
rvm list # 确保 rvm 正确安装, 如果直接通过系统安装ruby, 可以注释此行
|
|
81
|
+
ruby -v # 查看 ruby 的版本, 请确保大于 2.4.0
|
|
82
|
+
gem install fir-cli # 现场安装fir-cli , 如果安装过, 则会略过
|
|
83
|
+
fir -v # 查看 fir-cli 的版本
|
|
58
84
|
|
|
59
|
-
|
|
85
|
+
# 在这里执行 fir publish xxxxx
|
|
86
|
+
```
|
|
60
87
|
|
|
61
88
|
|
|
89
|
+
### 在 Circle CI, Travis CI 或 Github Actions 等境外服务上, 有概率超时, 能否解决?
|
|
62
90
|
|
|
63
|
-
|
|
91
|
+
2.0.3 版本 及其以上, 可以申请海外加速内测资格, 开启后可以使用海外加速上传 `--oversea_turbo`
|
|
64
92
|
|
|
65
|
-
1. 设置较长的超时时间 如 `FIR_TIMEOUT=300 fir publish xxxx`, 则可将超时时间设置为 300 秒.
|
|
66
|
-
2. 如果fir-cli 版本 >= 2.0.0, 也可在出现超时后, 使用 `--switch-to-qiniu` 来切换到我们的另外一条存储线路. 如 `fir publish xxxx.apk --switch-to-qiniu`, 多一条线路备选.
|
|
67
|
-
3. 如果确实对这方面服务要求很高, 则可购买我们的私有部署服务. 我们可以在 aws 上部署一套专供您使用, 具体情况可以与客服或者加我微信进行沟通.
|
|
68
93
|
|
|
69
94
|
更多细节请参考 [https://github.com/FIRHQ/fir-cli/issues/260](https://github.com/FIRHQ/fir-cli/issues/260)
|
|
70
95
|
|
|
@@ -146,4 +171,4 @@ docker run -e API_TOKEN=您的token -v 您的上传文件的目录的绝对路
|
|
|
146
171
|
|
|
147
172
|
## 鼓励维护
|
|
148
173
|
|
|
149
|
-
|
|
174
|
+
hia~ hia~ hia~
|
data/doc/publish.md
CHANGED
|
@@ -3,33 +3,56 @@
|
|
|
3
3
|
`fir publish` 命令用于可以发布应用到 fir.im, 支持 ipa 和 apk 文件.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
$ fir publish --help
|
|
7
6
|
Usage:
|
|
8
7
|
fir publish APP_FILE_PATH
|
|
9
8
|
|
|
10
9
|
Options:
|
|
11
|
-
-s, [--short=SHORT]
|
|
12
|
-
-c, [--changelog=CHANGELOG]
|
|
13
|
-
-Q, [--qrcode], [--no-qrcode]
|
|
14
|
-
[--
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
10
|
+
-s, [--short=SHORT] # 设置short
|
|
11
|
+
-c, [--changelog=CHANGELOG] # 设置更新内容, 可是文件地址也可直接是内容
|
|
12
|
+
-Q, [--qrcode], [--no-qrcode] # 生成二维码图片在当前目录
|
|
13
|
+
[--need-ansi-qrcode], [--no-need-ansi-qrcode] #
|
|
14
|
+
-R, [--need-release-id], [--no-need-release-id] # 在下载地址中包含具体版本(警告, 每个app 最多保留30个版本, 超过后会失效最老的版本)
|
|
15
|
+
-H, [--force-pin-history], [--no-force-pin-history] # 将版本留在下载页(即在新版本上传后, 下面仍然有旧版本的二维码可以引导)
|
|
16
|
+
-S, [--skip-update-icon], [--no-skip-update-icon] # 跳过更新图标
|
|
17
|
+
[--specify-icon-file=SPECIFY_ICON_FILE] # 指定更新图标
|
|
18
|
+
[--skip-fir-cli-feedback], [--no-skip-fir-cli-feedback] # 跳过 用来做统计fir-cli的反馈(用于改进fir-cli)
|
|
19
|
+
[--specify-app-display-name=SPECIFY_APP_DISPLAY_NAME] # 指定app 名称
|
|
20
|
+
-N, [--switch-to-qiniu], [--no-switch-to-qiniu] # 切换到七牛线路上传(当上传较慢时, 可试试这个)
|
|
21
|
+
[--oversea-turbo], [--no-oversea-turbo] # 海外加速(需联系微信 atpking 开通)
|
|
22
|
+
-m, [--mappingfile=MAPPINGFILE] # mappingfile
|
|
23
|
+
-D, [--dingtalk-access-token=DINGTALK_ACCESS_TOKEN] # 上传完毕后 若发送至钉钉, 则填写钉钉的webhook 的access_token
|
|
24
|
+
[--dingtalk-custom-message=DINGTALK_CUSTOM_MESSAGE] # 自定义钉钉消息 (针对钉钉新版webhook 需要校验的时候, 可以做关键字)
|
|
25
|
+
[--dingtalk-at-phones=DINGTALK_AT_PHONES] # 钉钉 at 某人手机号
|
|
26
|
+
[--dingtalk-at-all], [--no-dingtalk-at-all]
|
|
27
|
+
[--feishu-access-token=FEISHU_ACCESS_TOKEN] # 飞书的webhook 的access_token
|
|
28
|
+
[--feishu-custom-message=FEISHU_CUSTOM_MESSAGE] # 自定义飞书消息
|
|
29
|
+
[--wxwork-webhook=WXWORK_WEBHOOK] # 企业微信的 webhook 地址 (注意这里与 access_token 只需要填写一个参数即可)
|
|
30
|
+
[--wxwork-access-token=WXWORK_ACCESS_TOKEN] # 企业微信的 webhook access_token (注意这里与 access_token 只需要填写一个参数即可)
|
|
31
|
+
[--wxwork-custom-message=WXWORK_CUSTOM_MESSAGE] # 企业微信 的自定义消息
|
|
32
|
+
[--wxwork-pic-url=WXWORK_PIC_URL] # 企业微信的图片链接, best size is 1068x455
|
|
33
|
+
[--open], [--no-open] # 是否下载可见, 默认open
|
|
34
|
+
[--password=PASSWORD] # 下载页面密码, 默认为空
|
|
35
|
+
[--bundletool-jar-path=BUNDLETOOL_JAR_PATH] # (beta) 上传AAB 文件的特殊指令: upload aab file command: to specify bundletool.jar if command bundletool can not run directly
|
|
36
|
+
[--auto-download-bundletool-jar], [--no-auto-download-bundletool-jar] # (beta) 上传AAB 文件的特殊指令: upload aab file command: would download bundletool when invoke bundletool failure
|
|
37
|
+
-T, [--token=TOKEN] # betaqr.com(fir.im) 账户的 API_TOKEN
|
|
38
|
+
-L, [--logfile=LOGFILE] # Path to writable logfile
|
|
39
|
+
-V, [--verbose], [--no-verbose] # Show verbose
|
|
40
|
+
# Default: true
|
|
41
|
+
-q, [--quiet], [--no-quiet] # Silence commands
|
|
42
|
+
-h, [--help], [--no-help] # Show this help message and quit
|
|
43
|
+
|
|
44
|
+
Description:
|
|
45
|
+
`publish` command will publish your app file to fir.im, also the command support to publish app's short & changelog.
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
|
|
49
|
+
$ fir p <app file path> [-c <changelog> -s <custom short link> -Q -T <your api token>]
|
|
50
|
+
|
|
51
|
+
$ fir p <app file path> [-c <changelog> -s <custom short link> --password=123456 --open=false -Q -T <your api token>]
|
|
52
|
+
|
|
53
|
+
$ fir p <app file path> [-c <changelog> -s <custom short link> -m <mapping file path> -P <bughd project id> -Q -T <your
|
|
54
|
+
api token>]
|
|
24
55
|
```
|
|
25
56
|
|
|
26
|
-
相关参数详解:
|
|
27
57
|
|
|
28
|
-
- `-s` 参数, 自定义发布后的短链接地址.
|
|
29
|
-
- `-c` 参数, 自定义发布时的 changelog, 支持字符串与文件两种方式, 即 `--changelog='this is changelog'` 和 `--changelog='/Users/fir-cli/changelog'`.
|
|
30
|
-
- `-Q` 参数, 是否生成发布后二维码, 默认为不生成, 加上 `-Q` 参数后会在当前目录生成一张二维码图片, 扫描该图片即可下载该应用.
|
|
31
|
-
- `-R` 参数, 显示具体版本, 会在发布结束后的下载地址中生成指定的版本
|
|
32
|
-
- `-D` 参数, 钉钉机器人的access_token, 填写后当上传完毕, 会发送至钉钉机器人
|
|
33
|
-
- `--open` 参数, 设置发布后的应用是否开放给所有人下载, 关闭开放使用 `--no-open` 参数.
|
|
34
|
-
- `--password` 参数, 设置发布后的应用密码
|
|
35
58
|
|
data/fir-cli.gemspec
CHANGED
|
@@ -27,6 +27,7 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
/_/ /___/_/ |_| \____/_____/___/
|
|
28
28
|
|
|
29
29
|
## 更新记录
|
|
30
|
+
- (2.0.10) 飞书支持了 V2 版本的机器人推送
|
|
30
31
|
- (2.0.9) publish 支持了 企业微信通知 可以使用 --wxwork_access_token 或 --wxwork_webhook, 增加了回调超时时间至20秒
|
|
31
32
|
- (2.0.8) publish 支持 飞书通知, 可使用 `feishu_access_token` 和 `feishu_custom_message`, 详情见 `fir publish --help`
|
|
32
33
|
- (2.0.7) 修复了提示 token 有问题的错误
|
data/lib/fir/api.yml
CHANGED
|
@@ -2,6 +2,7 @@ fir:
|
|
|
2
2
|
domain: 'http://www.betaqr.com'
|
|
3
3
|
base_url: 'http://fir-api.admqr.com'
|
|
4
4
|
user_url: 'http://fir-api.admqr.com/user'
|
|
5
|
+
user_feishu_access_token: 'http://fir-api.admqr.com/user/fetch_feishu_v3_token'
|
|
5
6
|
app_url: 'http://fir-api.admqr.com/apps'
|
|
6
7
|
udids_url: 'http://fir-api.admqr.com/devices/multi_udid'
|
|
7
8
|
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
require 'json'
|
|
2
|
+
# require 'byebug'
|
|
3
|
+
class FeishuHelper
|
|
4
|
+
attr_accessor :app_info, :options, :feishu_access_token, :qrcode_path, :image_key, :download_url, :title
|
|
5
|
+
include FIR::Config
|
|
6
|
+
|
|
7
|
+
def initialize(app_info, options, qrcode_path, download_url)
|
|
8
|
+
@app_info = app_info
|
|
9
|
+
@options = options
|
|
10
|
+
@feishu_access_token = @options[:feishu_access_token]
|
|
11
|
+
@qrcode_path = qrcode_path
|
|
12
|
+
@download_url = download_url
|
|
13
|
+
@title = "#{@app_info[:name]}-#{@app_info[:version]}(Build #{@app_info[:build]})"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def send_msg
|
|
17
|
+
return if feishu_access_token.blank?
|
|
18
|
+
|
|
19
|
+
answer = v2_request
|
|
20
|
+
v1_request if answer.dig('ok') == 'false'
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def v2_request
|
|
24
|
+
url = "https://open.feishu.cn/open-apis/bot/v2/hook/#{feishu_access_token}"
|
|
25
|
+
x = build_v2_info
|
|
26
|
+
DefaultRest.post(url, x)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def v1_request
|
|
30
|
+
url = "https://open.feishu.cn/open-apis/bot/hook/#{feishu_access_token}"
|
|
31
|
+
payload = {
|
|
32
|
+
"title": "#{title} uploaded",
|
|
33
|
+
"text": "#{title} uploaded at #{Time.now}\nurl: #{download_url}\n#{options[:feishu_custom_message]}\n"
|
|
34
|
+
}
|
|
35
|
+
DefaultRest.post(url, payload)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
private
|
|
39
|
+
|
|
40
|
+
def build_v2_info
|
|
41
|
+
{
|
|
42
|
+
msg_type: 'post',
|
|
43
|
+
content: {
|
|
44
|
+
post: {
|
|
45
|
+
zh_cn: {
|
|
46
|
+
title: title,
|
|
47
|
+
content: [build_info_tags, [build_image_tag]]
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def build_info_tags
|
|
55
|
+
text = "#{title} uploaded at #{Time.now}\n#{options[:feishu_custom_message]}\n"
|
|
56
|
+
[
|
|
57
|
+
{
|
|
58
|
+
"tag": 'text',
|
|
59
|
+
"text": text
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"tag": 'a',
|
|
63
|
+
"text": download_url,
|
|
64
|
+
"href": download_url
|
|
65
|
+
}
|
|
66
|
+
]
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def build_image_tag
|
|
70
|
+
{
|
|
71
|
+
"tag": 'img',
|
|
72
|
+
"image_key": upload_qr_code,
|
|
73
|
+
"width": 300,
|
|
74
|
+
"height": 300
|
|
75
|
+
}
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def fetch_image_access_token
|
|
79
|
+
answer = DefaultRest.post(fir_api[:fetch_feishu_v3_token] || 'http://fir-api.admqr.com/user/fetch_feishu_v3_token', {})
|
|
80
|
+
answer[:feishu_v3_token]
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
def upload_qr_code
|
|
84
|
+
answer = RestClient.post('https://open.feishu.cn/open-apis/image/v4/put/', {
|
|
85
|
+
image_type: 'message',
|
|
86
|
+
image: File.new(qrcode_path, 'rb')
|
|
87
|
+
}, {
|
|
88
|
+
'Authorization' => "Bearer #{fetch_image_access_token}"
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
json = JSON.parse(answer)
|
|
92
|
+
json.dig('data', 'image_key')
|
|
93
|
+
end
|
|
94
|
+
end
|
data/lib/fir/util/publish.rb
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# require 'byebug'
|
|
4
4
|
require_relative './qiniu_uploader'
|
|
5
5
|
require_relative './ali_uploader'
|
|
6
|
+
require_relative '../util/feishu_helper'
|
|
6
7
|
|
|
7
8
|
module FIR
|
|
8
9
|
module Publish
|
|
@@ -27,7 +28,7 @@ module FIR
|
|
|
27
28
|
qrcode_path = build_qrcode download_url
|
|
28
29
|
|
|
29
30
|
dingtalk_notifier(download_url, qrcode_path)
|
|
30
|
-
feishu_notifier(download_url)
|
|
31
|
+
feishu_notifier(download_url, qrcode_path)
|
|
31
32
|
wxwork_notifier(download_url)
|
|
32
33
|
|
|
33
34
|
upload_mapping_file_with_publish
|
|
@@ -216,15 +217,8 @@ module FIR
|
|
|
216
217
|
logger.warn "Dingtalk send error #{e.message}"
|
|
217
218
|
end
|
|
218
219
|
|
|
219
|
-
def feishu_notifier(download_url)
|
|
220
|
-
|
|
221
|
-
title = "#{@app_info[:name]}-#{@app_info[:version]}(Build #{@app_info[:build]})"
|
|
222
|
-
url = "https://open.feishu.cn/open-apis/bot/hook/#{options[:feishu_access_token]}"
|
|
223
|
-
payload = {
|
|
224
|
-
"title": "#{title} uploaded",
|
|
225
|
-
"text": "#{title} uploaded at #{Time.now}\nurl: #{download_url}\n#{options[:feishu_custom_message]}\n"
|
|
226
|
-
}
|
|
227
|
-
DefaultRest.post(url, payload)
|
|
220
|
+
def feishu_notifier(download_url, qrcode_path)
|
|
221
|
+
FeishuHelper.new(@app_info, options, qrcode_path, download_url).send_msg
|
|
228
222
|
end
|
|
229
223
|
|
|
230
224
|
def wxwork_notifier(download_url)
|
data/lib/fir/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fir-cli
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- NaixSpirit
|
|
8
8
|
- atpking
|
|
9
|
-
autorequire:
|
|
9
|
+
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
12
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -218,6 +218,7 @@ files:
|
|
|
218
218
|
- lib/fir/util/build_common.rb
|
|
219
219
|
- lib/fir/util/build_ipa.rb
|
|
220
220
|
- lib/fir/util/config.rb
|
|
221
|
+
- lib/fir/util/feishu_helper.rb
|
|
221
222
|
- lib/fir/util/http.rb
|
|
222
223
|
- lib/fir/util/info.rb
|
|
223
224
|
- lib/fir/util/login.rb
|
|
@@ -254,18 +255,18 @@ metadata: {}
|
|
|
254
255
|
post_install_message: "\n ______________ ________ ____\n /
|
|
255
256
|
____/ _/ __ \\ / ____/ / / _/\n / /_ / // /_/ /_____/ / / / /
|
|
256
257
|
/\n / __/ _/ // _, _/_____/ /___/ /____/ /\n /_/ /___/_/ |_| \\____/_____/___/\n\n
|
|
257
|
-
\ ## 更新记录\n - (2.0.9) publish 支持了 企业微信通知 可以使用 --wxwork_access_token
|
|
258
|
-
增加了回调超时时间至20秒\n - (2.0.8) publish 支持 飞书通知, 可使用 `feishu_access_token`
|
|
259
|
-
详情见 `fir publish --help`\n - (2.0.7) 修复了提示 token 有问题的错误\n
|
|
260
|
-
\ - (2.0.5) 更换了上传域名, 避免与 深信服的设备冲突\n - (2.0.4) 修复了 cdn
|
|
261
|
-
信息的时候返回的 400 错误\n - (2.0.3) 增加 dingtalk_at_phones, 钉钉通知可
|
|
262
|
-
`dingtalk_access_token` 使用\n - (2.0.3) 增加 dingtalk_at_all,
|
|
263
|
-
`dingtalk_access_token` 使用\n - (2.0.3) publish 增加海外加速参数 --oversea_turbo\n
|
|
264
|
-
有限支持 aab 文件上传, 强依赖`bundletool`工具, 具体请参见参数 `--bundletool_jar_path` 和
|
|
265
|
-
|
|
266
|
-
publish 支持 新参数 `need_ansi_qrcode`, 在控制台直接打印二维码, jenkins
|
|
267
|
-
插件配合\n - (2.0.1) publish 支持 新参数 `dingtalk_custom_message`,
|
|
268
|
-
`dingtalk_access_token` 使用\n - (2.0.1) publish 支持 新参数 `skip_fir_cli_feedback`,
|
|
258
|
+
\ ## 更新记录\n - (2.0.10) 飞书支持了 V2 版本的机器人推送\n - (2.0.9) publish 支持了 企业微信通知 可以使用 --wxwork_access_token
|
|
259
|
+
或 --wxwork_webhook, 增加了回调超时时间至20秒\n - (2.0.8) publish 支持 飞书通知, 可使用 `feishu_access_token`
|
|
260
|
+
和 `feishu_custom_message`, 详情见 `fir publish --help`\n - (2.0.7) 修复了提示 token 有问题的错误\n
|
|
261
|
+
\ - (2.0.6) 将校验文件是否存在提前\n - (2.0.5) 更换了上传域名, 避免与 深信服的设备冲突\n - (2.0.4) 修复了 cdn
|
|
262
|
+
不支持 patch 方法透传, 导致在修改 app 信息的时候返回的 400 错误\n - (2.0.3) 增加 dingtalk_at_phones, 钉钉通知可
|
|
263
|
+
at 用户手机号, 以逗号,分割. 此命令需配合 `dingtalk_access_token` 使用\n - (2.0.3) 增加 dingtalk_at_all,
|
|
264
|
+
钉钉通知可 at 所有人, 此命令需配合 `dingtalk_access_token` 使用\n - (2.0.3) publish 增加海外加速参数 --oversea_turbo\n
|
|
265
|
+
\ - (2.0.2) 有限支持 aab 文件上传, 强依赖`bundletool`工具, 具体请参见参数 `--bundletool_jar_path` 和
|
|
266
|
+
`auto_download_bundletool_jar`\n - (2.0.1) publish 支持 新参数 `specify_app_display_name`,
|
|
267
|
+
指定 app 显示名称\n - (2.0.1) publish 支持 新参数 `need_ansi_qrcode`, 在控制台直接打印二维码, jenkins
|
|
268
|
+
用户可能需要使用 `AnsiColor Plugin` 插件配合\n - (2.0.1) publish 支持 新参数 `dingtalk_custom_message`,
|
|
269
|
+
可以在钉钉通知里增加自定义消息, 此命令需配合 `dingtalk_access_token` 使用\n - (2.0.1) publish 支持 新参数 `skip_fir_cli_feedback`,
|
|
269
270
|
可禁止 fir-cli 发送统计信息\n - (2.0.0) publish 使用更快的存储商, 加速上传速度, 若感觉没以前可使用 switch_to_qiniu
|
|
270
271
|
恢复\n - [fir-cli](https://github.com/firhq/fir-cli) 已经开源\n - 欢迎 fork, issue 和 pull
|
|
271
272
|
request\n "
|
|
@@ -284,7 +285,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
284
285
|
version: '0'
|
|
285
286
|
requirements: []
|
|
286
287
|
rubygems_version: 3.0.3
|
|
287
|
-
signing_key:
|
|
288
|
+
signing_key:
|
|
288
289
|
specification_version: 4
|
|
289
290
|
summary: fir.im command tool
|
|
290
291
|
test_files:
|