Skip to content

Commit 598c232

Browse files
authored
Merge pull request onevcat#2361 from onevcat/fix/assets-file-name
Update xcframework zip file name
2 parents 3db26ab + d7139a8 commit 598c232

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

fastlane/Fastfile

+7-5
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ platform :ios do
8282
tag_name: target_version,
8383
description: release_log[:text],
8484
upload_assets: [
85-
"build/Kingfisher-#{target_version}.zip",
86-
"build/Kingfisher-iOS-#{target_version}.zip"
85+
"build/Kingfisher-#{target_version}.xcframework.zip",
86+
"build/Kingfisher-iOS-#{target_version}.xcframework.zip"
8787
]
8888
)
8989

@@ -140,16 +140,18 @@ platform :ios do
140140
"Kingfisher-#{output_name}-#{version}"
141141
end
142142

143+
output_xcframework_path = "build/#{output_base_name}/Kingfisher.xcframework"
144+
143145
create_xcframework(
144146
frameworks_with_dsyms: frameworks,
145-
output: "build/#{output_base_name}/Kingfisher.xcframework"
147+
output: output_xcframework_path
146148
)
147149

148150
Actions.sh("codesign --timestamp -v --sign 'Apple Distribution: Wei Wang (A4YJ9MRZ66)' ../build/#{output_base_name}/Kingfisher.xcframework")
149151

150152
zip(
151-
path: "build/#{output_base_name}",
152-
output_path: "build/#{output_base_name}.zip",
153+
path: output_xcframework_path,
154+
output_path: "build/#{output_base_name}.xcframework.zip",
153155
symlinks: true
154156
)
155157
end

0 commit comments

Comments
 (0)