Skip to content

Commit 7b8256a

Browse files
bed42andrew-bednarz-isobar
authored andcommitted
[supply] Also upload changelog when uploading bundle (fastlane#14511)
* Fix for fastlane#13616 - after uploading a new bundle, check for changenotes metadata to upload in the same manner it does for uploading apks. * spacing fix from bundle exec rubocop -a Co-authored-by: Andrew Bednarz <andrew.bednarz@isobar.com>
1 parent ea4d8a2 commit 7b8256a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

supply/lib/supply/uploader.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,16 @@ def upload_bundles
162162

163163
aab_paths.each do |aab_path|
164164
UI.message("Preparing aab at path '#{aab_path}' for upload...")
165-
aab_version_codes.push(client.upload_bundle(aab_path))
165+
bundle_version_code = client.upload_bundle(aab_path)
166+
167+
if metadata_path
168+
all_languages.each do |language|
169+
next if language.start_with?('.') # e.g. . or .. or hidden folders
170+
upload_changelog(language, bundle_version_code)
171+
end
172+
end
173+
174+
aab_version_codes.push(bundle_version_code)
166175
end
167176

168177
return aab_version_codes

0 commit comments

Comments
 (0)