fastlane-plugin-fastci 0.0.5 → 0.0.6
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ec73525d2fc7e5ec78f87ea1636db7114910582cb44eda3408bc3bde430751b
|
|
4
|
+
data.tar.gz: 2b70526a319ba2919c7e88dbe44efd0b36a34a4f31be9e7f4112d897f422c635
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db85d8ef2ace70c0354e1bf7807e656e02cef23d8a99f8cf5dd2b9340decd746880370651057a75e3484abd3116fe5fc393ef93ad0a220dccca72242a8ce13c4
|
|
7
|
+
data.tar.gz: 4c265130006c89b34266d34adaf983ef0c0d4b00bb49d17de1430958a818465bb0e8c1aa7ad1fb64ddbf73526ed54b2bb5c249a3f4fd307e1d73640ed2ff5e38
|
data/README.md
CHANGED
|
@@ -64,7 +64,7 @@ package(
|
|
|
64
64
|
is_detect_duplicity_code: false, # 是否检测重复代码
|
|
65
65
|
is_detect_unused_code: false, # 是否检测未使用代码
|
|
66
66
|
is_detect_unused_image: false # 是否检测未使用图片
|
|
67
|
-
release_notes: options[:release_notes] # 配合 jenkins 传参上传 appstore { "zh-Hans"
|
|
67
|
+
release_notes: options[:release_notes] # 配合 jenkins 传参上传 appstore 格式为 { \"zh-Hans\": \"修复问题\", \"en-US\": \"bugfix\"} JSON 字符串
|
|
68
68
|
)
|
|
69
69
|
```
|
|
70
70
|
|
|
@@ -18,6 +18,7 @@ module Fastlane
|
|
|
18
18
|
is_detect_duplicity_code = params[:is_detect_duplicity_code] || false
|
|
19
19
|
is_detect_unused_code = params[:is_detect_unused_code] || false
|
|
20
20
|
is_detect_unused_image = params[:is_detect_unused_image] || false
|
|
21
|
+
release_notes = params[:release_notes] || ""
|
|
21
22
|
if export_method == "app-store"
|
|
22
23
|
configuration = "Release"
|
|
23
24
|
end
|
|
@@ -119,7 +120,7 @@ module Fastlane
|
|
|
119
120
|
|
|
120
121
|
if CommonHelper.is_validate_string(Environment.connect_key_id) && CommonHelper.is_validate_string(Environment.connect_issuer_id)
|
|
121
122
|
|
|
122
|
-
other_action.upload_store()
|
|
123
|
+
other_action.upload_store(release_notes: release_notes)
|
|
123
124
|
notiText = "🚀🚀🚀🚀🚀🚀\n\n#{scheme}-iOS-上传完成\n\n#{version}_#{build}_#{export_method}\n\n🚀🚀🚀🚀🚀🚀"
|
|
124
125
|
DingdingHelper.sendMarkdown(notiText)
|
|
125
126
|
end
|
|
@@ -130,7 +131,7 @@ module Fastlane
|
|
|
130
131
|
# 上传蒲公英
|
|
131
132
|
if CommonHelper.is_validate_string(Environment.pgy_api_key)
|
|
132
133
|
pgy_upload_info = other_action.upload_pgy()
|
|
133
|
-
qrCode = pgy_upload_info[
|
|
134
|
+
qrCode = pgy_upload_info["buildQRCodeURL"]
|
|
134
135
|
|
|
135
136
|
if CommonHelper.is_validate_string(qrCode)
|
|
136
137
|
notiText << "\n\n⬇️⬇️⬇️ 扫码安装 ⬇️⬇️⬇️\n\n\n密码: #{Environment.pgy_password}\n"
|
|
@@ -284,9 +285,9 @@ module Fastlane
|
|
|
284
285
|
),
|
|
285
286
|
FastlaneCore::ConfigItem.new(
|
|
286
287
|
key: :release_notes,
|
|
287
|
-
description: "更新文案, 格式为 { \"zh-Hans\"
|
|
288
|
+
description: "更新文案, 格式为 { \"zh-Hans\": \"修复问题\", \"en-US\": \"bugfix\"} JSON 字符串",
|
|
288
289
|
optional: true,
|
|
289
|
-
type:
|
|
290
|
+
type: String
|
|
290
291
|
)
|
|
291
292
|
]
|
|
292
293
|
end
|
|
@@ -8,6 +8,8 @@ module Fastlane
|
|
|
8
8
|
def self.run(params)
|
|
9
9
|
UI.message("*************| 开始上传 AppStore |*************")
|
|
10
10
|
|
|
11
|
+
release_notes = JSON.parse(params[:release_notes] || "") rescue ""
|
|
12
|
+
|
|
11
13
|
other_action.app_store_connect_api_key(
|
|
12
14
|
key_id: Environment.connect_key_id,
|
|
13
15
|
issuer_id: Environment.connect_issuer_id,
|
|
@@ -21,7 +23,7 @@ module Fastlane
|
|
|
21
23
|
force: true,
|
|
22
24
|
submit_for_review: false,
|
|
23
25
|
automatic_release: false,
|
|
24
|
-
release_notes:
|
|
26
|
+
release_notes: release_notes
|
|
25
27
|
)
|
|
26
28
|
|
|
27
29
|
end
|
|
@@ -34,9 +36,9 @@ module Fastlane
|
|
|
34
36
|
[
|
|
35
37
|
FastlaneCore::ConfigItem.new(
|
|
36
38
|
key: :release_notes,
|
|
37
|
-
description: "更新文案, 格式为 { \"zh-Hans\"
|
|
39
|
+
description: "更新文案, 格式为 { \"zh-Hans\": \"修复问题\", \"en-US\": \"bugfix\"} JSON 字符串",
|
|
38
40
|
optional: false,
|
|
39
|
-
type:
|
|
41
|
+
type: String
|
|
40
42
|
)
|
|
41
43
|
]
|
|
42
44
|
end
|