ykcitool 0.4.11 → 0.4.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db248ffb0abe6676a820e456acb5dace6b4cfad0ccc07b8066860efbd13efa4b
4
- data.tar.gz: d710dfa65d26be5bceae9106633e19ee0a67de6101e3ecf11b36e5108d71a607
3
+ metadata.gz: 984b2c5dbaeb90bebb7270cf2dcf85ea11cd99c4233d2a90a60bae0fa8b61b28
4
+ data.tar.gz: cb30d6d617cb9f470a9a4e4ad6126e1b23aadaa71b68757afcb9c9d0206edf94
5
5
  SHA512:
6
- metadata.gz: c8af0d106bdfb205fffab2cabee9de7496cb6fb2cc84ea436f4ecefce259ddde9eb784c38b7b928fec84b6fb8036c0406f906cd6f8abcfd31fec774a3d13e5d7
7
- data.tar.gz: 749a71b8a8790fb3090f7158c7405c7fd663855943ab968499f2bd5aa6e16a591f76545745a0c2319becce5d6cdd5e5bafd356d9cddb31c2b770e78223198700
6
+ metadata.gz: 3f193899711ee8158579a407e771f7ac6c9ac88f0ce0540a2f8113975d741adba5cc00f621464cfb3dc42aa59c0c0e889a64267c88e939317d56457f02d005bc
7
+ data.tar.gz: b7965b472bfb23a5c4fe897cf39168a87d446214217813103d6d38be303913830b8cf5d56f50d0f422e0058bcb8d46010227fede4a50d011108bda9b63698637
@@ -70,6 +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,:required => false, :type => :string, :aliases => :b, :desc => '[可选] 分支名称,因为可能git只是浅拷贝,在项目目录使用 git 指令获取不到当前分支,所以提供了这个参数'
73
74
  option :xcworkspace, :type => :string, :aliases => :x, :desc => '.xcworkspace 文件相对于指令工作目录的相对路径, 如果.xcworkspace文件在工程根目录,则可以不传递此参数'
74
75
  option :cocoapods, :type => :numeric, :aliases => :c, :desc => '是否需要执行pod install, 默认不执行pod install 指令, 1:执行, 非1:不执行'
75
76
  option :flutter_directory, :type => :string, :aliases => :d, :desc => '如果有flutter混编, 此参数是 flutter项目的相对路径.'
@@ -93,6 +94,7 @@ module YKCitool
93
94
  option :pgyer_user, :type => :string, :aliases => :u, :desc => '蒲公英平台的user key; 如果不传,会使用全局配置的 user key'
94
95
  option :wxwork_access_token, :type => :string, :aliases => :w, :desc => '企业微信机器人 webhook中的key字段, 如果没有,则使用env中配置的机器人'
95
96
  option :note, :type => :string, :aliases => :n, :desc => '测试包发包信息'
97
+ option :branch_name,:required => false, :type => :string, :aliases => :b, :desc => '[可选] 分支名称,因为可能git只是浅拷贝,在项目目录使用 git 指令获取不到当前分支,所以提供了这个参数'
96
98
  option :xcworkspace, :type => :string, :aliases => :x, :desc => '.xcworkspace 文件相对于指令工作目录的相对路径, 如果.xcworkspace文件在工程根目录,则可以不传递此参数'
97
99
  option :cocoapods, :type => :numeric, :aliases => :c, :desc => '是否需要执行pod install, 默认不执行pod install 指令, 1:执行, 非1:不执行'
98
100
  option :flutter_directory, :type => :string, :aliases => :d, :desc => '如果有flutter混编, 此参数是 flutter项目的相对路径.'
@@ -115,6 +117,7 @@ module YKCitool
115
117
  option :fir_api_token, :type => :string, :aliases => :f, :desc => 'Fir平台api token'
116
118
  option :wxwork_access_token, :type => :string, :aliases => :w, :desc => '企业微信机器人 webhook中的key字段, 如果没有,则使用env中配置的机器人'
117
119
  option :note, :type => :string, :aliases => :n, :desc => '测试包发包信息'
120
+ option :branch_name,:required => false, :type => :string, :aliases => :b, :desc => '[可选] 分支名称,因为可能git只是浅拷贝,在项目目录使用 git 指令获取不到当前分支,所以提供了这个参数'
118
121
  option :xcworkspace, :type => :string, :aliases => :x, :desc => '.xcworkspace 文件相对于指令工作目录的相对路径, 如果.xcworkspace文件在工程根目录,则可以不传递此参数'
119
122
  option :cocoapods, :type => :numeric, :aliases => :c, :desc => '是否需要执行pod install, 默认不执行pod install 指令, 1:执行, 非1:不执行'
120
123
  option :flutter_directory, :type => :string, :aliases => :d, :desc => '如果有flutter混编, 此参数是 flutter项目的相对路径.'
@@ -127,6 +130,8 @@ module YKCitool
127
130
  options.update(dict)
128
131
  end
129
132
 
133
+ options[:yk_ipa_upload_api] = self.load_archive_config_dict(YKCitool::ArchiveHelper::K_archiveEnv_config_fir)
134
+
130
135
  code = YKFastlaneExecute.executeFastlaneLane("archive_fir", options)
131
136
  exit(code) unless code == 0
132
137
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module YKCitool
4
- VERSION = "0.4.11"
4
+ VERSION = "0.4.12"
5
5
  YKFASTLANE_ENV_PATH = File.expand_path(File.join(Dir.home, '.ykfastlane_config'))
6
6
  end
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.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - stephen.chen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -163,7 +163,7 @@ homepage: https://github.com/stephen5652/ykcitool.git
163
163
  licenses:
164
164
  - MIT
165
165
  metadata: {}
166
- post_install_message:
166
+ post_install_message:
167
167
  rdoc_options: []
168
168
  require_paths:
169
169
  - lib
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  requirements: []
181
181
  rubygems_version: 3.1.6
182
- signing_key:
182
+ signing_key:
183
183
  specification_version: 4
184
184
  summary: iOS 打包工具.
185
185
  test_files: []