fastlane-plugin-fastci 0.0.6 → 0.0.7
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 +2 -1
- data/lib/fastlane/plugin/fastci/actions/install_certificate_action.rb +1 -1
- data/lib/fastlane/plugin/fastci/actions/install_profile_action.rb +1 -1
- data/lib/fastlane/plugin/fastci/actions/upload_store_action.rb +1 -1
- data/lib/fastlane/plugin/fastci/helper/environment.rb +5 -6
- data/lib/fastlane/plugin/fastci/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 447af26ce478afd41026dd66f1ffd04d787f081457db0da892491a022bca834e
|
|
4
|
+
data.tar.gz: 417c3bb7b9d6398e3905f5858e8082fb26bb7b22eeeb4ee3b0b8b6eacdaaf1dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dc8fc8efd8a487a8aec65b4b36c0877eb1f1a105404009d255764686f629db58f23e2de63e0780d963400c088318c99e9b9e87d04e13859ea7862e0e2ce2ac7
|
|
7
|
+
data.tar.gz: 73444092de1acb713030a91230943659730c5feeb48b6aa26222e0ae7fd1786443122018731067e8ffd3a2555e3e160016f29eb54778625e36fbac558c4e9981
|
data/README.md
CHANGED
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
|
|
28
28
|
## 使用方法
|
|
29
29
|
|
|
30
|
-
参考 [` Fastfile `](fastlane/Fastfile) 和 [` .env.default `](fastlane/.env.default) 替换项目内 fastlane
|
|
30
|
+
参考 [` Fastfile `](fastlane/Fastfile) 和 [` .env.default `](fastlane/.env.default) 替换项目内 fastlane 文件夹下文件;
|
|
31
|
+
项目根目录新建 ` PACKAGE_FILE_FOLDER_NAME ` 配置对应名字文件夹,将描述文件、证书、p8 密钥等文件放入该文件夹下。
|
|
31
32
|
然后终端进入项目根目录就可以使用 ` fastlane `
|
|
32
33
|
|
|
33
34
|
|
|
@@ -8,7 +8,7 @@ module Fastlane
|
|
|
8
8
|
def self.run(params)
|
|
9
9
|
UI.message("*************| 开始安装 p12 证书 |*************")
|
|
10
10
|
|
|
11
|
-
certificate_paths = Dir.glob(File.expand_path("#{Environment.
|
|
11
|
+
certificate_paths = Dir.glob(File.expand_path("#{Environment.package_file_folder_name}/*.p12"))
|
|
12
12
|
certificate_paths.each do |path|
|
|
13
13
|
other_action.import_certificate(
|
|
14
14
|
certificate_path: path,
|
|
@@ -8,7 +8,7 @@ module Fastlane
|
|
|
8
8
|
def self.run(params)
|
|
9
9
|
UI.message("*************| 开始安装 provisioningProfile |*************")
|
|
10
10
|
|
|
11
|
-
provisioning_profile_paths = Dir.glob(File.expand_path("#{Environment.
|
|
11
|
+
provisioning_profile_paths = Dir.glob(File.expand_path("#{Environment.package_file_folder_name}/*.mobileprovision"))
|
|
12
12
|
provisioning_profile_paths.each do |path|
|
|
13
13
|
other_action.install_provisioning_profile(
|
|
14
14
|
path: path
|
|
@@ -13,7 +13,7 @@ module Fastlane
|
|
|
13
13
|
other_action.app_store_connect_api_key(
|
|
14
14
|
key_id: Environment.connect_key_id,
|
|
15
15
|
issuer_id: Environment.connect_issuer_id,
|
|
16
|
-
key_filepath: File.expand_path("
|
|
16
|
+
key_filepath: File.expand_path("#{Environment.package_file_folder_name}/AuthKey_#{Environment.connect_key_id}.p8"),
|
|
17
17
|
duration: 1200, # optional (maximum 1200)
|
|
18
18
|
in_house: false # optional but may be required if using match/sigh
|
|
19
19
|
)
|
|
@@ -29,10 +29,12 @@ module Fastlane
|
|
|
29
29
|
ENV['SCHEMES_NAME']&.split(",") || []
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
#
|
|
33
|
-
def self.
|
|
34
|
-
ENV['
|
|
32
|
+
# 证书描述文件等放置的文件夹名称
|
|
33
|
+
def self.package_file_folder_name
|
|
34
|
+
ENV['PACKAGE_FILE_FOLDER_NAME']
|
|
35
35
|
end
|
|
36
|
+
|
|
37
|
+
# 描述文件配置
|
|
36
38
|
def self.provisioningProfiles_development
|
|
37
39
|
ENV['PROFILE_DEVELOPMENT']
|
|
38
40
|
end
|
|
@@ -53,9 +55,6 @@ module Fastlane
|
|
|
53
55
|
end
|
|
54
56
|
|
|
55
57
|
# p12 证书配置
|
|
56
|
-
def self.certificate_folder_name
|
|
57
|
-
ENV['PROFILE_FOLDER_NAME']
|
|
58
|
-
end
|
|
59
58
|
def self.certificate_development
|
|
60
59
|
ENV['CERTIFICATE_DEVELOPMENT']
|
|
61
60
|
end
|