ykcitool 0.4.12 → 0.4.13
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/lib/actions/archive.rb +6 -6
- data/lib/ykfastlane/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: fb9db5d3a9ae16dc8c8db5a9c1389f858fb6e690946b71b65cb63c1766dac20b
|
|
4
|
+
data.tar.gz: 453bf2bd6ebb4e47f63d8d3dd8bf70a9c9b307a6cd1f9ded8ec739087c4eda48
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b9e5f7f4e2d3d911adc984993563ee31e09c5a5b186ce38dd3a2694911a4408383ed6ee7d413cbb736a76db06cd67762a7b94f51dc88d0413199f61b1a7eb6e
|
|
7
|
+
data.tar.gz: e1fa9eaea6d48582d098fb606675c7aa89d77a0cf33ccb250754ec47e182f7f3696761ff727c2ee140d9ee5d9202161922c68973ad47759fd106e2a8f11d6c49
|
data/lib/actions/archive.rb
CHANGED
|
@@ -26,7 +26,7 @@ module YKCitool
|
|
|
26
26
|
puts "archive update pgyer info success"
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
if options[:fir_api_token].blank? == false #fir
|
|
29
|
+
if options[:fir_api_token].blank? == false # fir
|
|
30
30
|
fir_info = {
|
|
31
31
|
K_archiveEnv_firApiToken => options[:fir_api_token]
|
|
32
32
|
}
|
|
@@ -70,7 +70,7 @@ module YKCitool
|
|
|
70
70
|
|
|
71
71
|
option :wxwork_access_token, :type => :string, :aliases => :w, :desc => '企业微信机器人 webhook中的key字段, 如果没有,则使用env中配置的机器人'
|
|
72
72
|
option :note, :type => :string, :aliases => :n, :desc => '测试包发包信息'
|
|
73
|
-
option :branch_name
|
|
73
|
+
option :branch_name, :required => false, :type => :string, :aliases => :b, :desc => '[可选] 分支名称,因为可能git只是浅拷贝,在项目目录使用 git 指令获取不到当前分支,所以提供了这个参数'
|
|
74
74
|
option :xcworkspace, :type => :string, :aliases => :x, :desc => '.xcworkspace 文件相对于指令工作目录的相对路径, 如果.xcworkspace文件在工程根目录,则可以不传递此参数'
|
|
75
75
|
option :cocoapods, :type => :numeric, :aliases => :c, :desc => '是否需要执行pod install, 默认不执行pod install 指令, 1:执行, 非1:不执行'
|
|
76
76
|
option :flutter_directory, :type => :string, :aliases => :d, :desc => '如果有flutter混编, 此参数是 flutter项目的相对路径.'
|
|
@@ -94,7 +94,7 @@ module YKCitool
|
|
|
94
94
|
option :pgyer_user, :type => :string, :aliases => :u, :desc => '蒲公英平台的user key; 如果不传,会使用全局配置的 user key'
|
|
95
95
|
option :wxwork_access_token, :type => :string, :aliases => :w, :desc => '企业微信机器人 webhook中的key字段, 如果没有,则使用env中配置的机器人'
|
|
96
96
|
option :note, :type => :string, :aliases => :n, :desc => '测试包发包信息'
|
|
97
|
-
option :branch_name
|
|
97
|
+
option :branch_name, :required => false, :type => :string, :aliases => :b, :desc => '[可选] 分支名称,因为可能git只是浅拷贝,在项目目录使用 git 指令获取不到当前分支,所以提供了这个参数'
|
|
98
98
|
option :xcworkspace, :type => :string, :aliases => :x, :desc => '.xcworkspace 文件相对于指令工作目录的相对路径, 如果.xcworkspace文件在工程根目录,则可以不传递此参数'
|
|
99
99
|
option :cocoapods, :type => :numeric, :aliases => :c, :desc => '是否需要执行pod install, 默认不执行pod install 指令, 1:执行, 非1:不执行'
|
|
100
100
|
option :flutter_directory, :type => :string, :aliases => :d, :desc => '如果有flutter混编, 此参数是 flutter项目的相对路径.'
|
|
@@ -117,7 +117,8 @@ module YKCitool
|
|
|
117
117
|
option :fir_api_token, :type => :string, :aliases => :f, :desc => 'Fir平台api token'
|
|
118
118
|
option :wxwork_access_token, :type => :string, :aliases => :w, :desc => '企业微信机器人 webhook中的key字段, 如果没有,则使用env中配置的机器人'
|
|
119
119
|
option :note, :type => :string, :aliases => :n, :desc => '测试包发包信息'
|
|
120
|
-
option :branch_name
|
|
120
|
+
option :branch_name, :required => false, :type => :string, :aliases => :b, :desc => '[可选] 分支名称,因为可能git只是浅拷贝,在项目目录使用 git 指令获取不到当前分支,所以提供了这个参数'
|
|
121
|
+
option :upload_ykipa_server, :required => false, :type => :numeric, :aliases => :y, :desc => '[可选] 是否上传yk ipa平台,如果不上传,则只会给私有平台报告fir的现在地址'
|
|
121
122
|
option :xcworkspace, :type => :string, :aliases => :x, :desc => '.xcworkspace 文件相对于指令工作目录的相对路径, 如果.xcworkspace文件在工程根目录,则可以不传递此参数'
|
|
122
123
|
option :cocoapods, :type => :numeric, :aliases => :c, :desc => '是否需要执行pod install, 默认不执行pod install 指令, 1:执行, 非1:不执行'
|
|
123
124
|
option :flutter_directory, :type => :string, :aliases => :d, :desc => '如果有flutter混编, 此参数是 flutter项目的相对路径.'
|
|
@@ -130,13 +131,12 @@ module YKCitool
|
|
|
130
131
|
options.update(dict)
|
|
131
132
|
end
|
|
132
133
|
|
|
133
|
-
options[:yk_ipa_upload_api] = self.load_archive_config_dict(YKCitool::ArchiveHelper::K_archiveEnv_config_fir)
|
|
134
|
-
|
|
135
134
|
code = YKFastlaneExecute.executeFastlaneLane("archive_fir", options)
|
|
136
135
|
exit(code) unless code == 0
|
|
137
136
|
end
|
|
138
137
|
|
|
139
138
|
desc "clean_product_dir", "clean product path"
|
|
139
|
+
|
|
140
140
|
def clean_product_dir()
|
|
141
141
|
YKFastlaneExecute.executeFastlaneLane("clean_product_directory", options)
|
|
142
142
|
end
|
data/lib/ykfastlane/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ykcitool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- stephen.chen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-10-
|
|
11
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: git
|