fastlane-plugin-fir_cli 2.0.10 → 2.0.15

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: 6b3462f659a75869e5b2fb6dfc15a0b1b9cd4fb23865d240b4fcdfd160dbe6b2
4
- data.tar.gz: fa3cbe713472bb138b68b30f90458d93ee66470a73e1440f3e7eaf36aabc24ec
3
+ metadata.gz: d94cf0edd1607216198d47e463e9059a4f7c4f334806d98479fe99ebade083c7
4
+ data.tar.gz: 0d0d9458bcf2faf2a53b730882cffb4291e096f76f19b872136a9dc13e0b4eb5
5
5
  SHA512:
6
- metadata.gz: 5c0d86e043c4ff44ccb441d7732ccfd8d70f82dc99f0362740629f79d84e35810f3dd6a2571c5d6279e97c80ecd00c7be30130c29e2308a6c0be0d92e79edeaf
7
- data.tar.gz: 5265acca6831bafcd83ae4c515868420a3fd5afa8c8bcfb2d844c359c59ade3a54a837c2f76d616c2f4d8ff07b3cf1127f42f6ac74629de7f99f7241b3661f0f
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
- | 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
 
@@ -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",
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FirCli
3
- VERSION = "2.0.10"
3
+ VERSION = "2.0.15"
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.10
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: 2020-12-15 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.10
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.10
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