supply/lib/supply/setup.rb in fastlane-2.145.0 vs supply/lib/supply/setup.rb in fastlane-2.146.0
- old
+ new
@@ -96,12 +96,14 @@
containing = File.join(metadata_path, release_listing.language, CHANGELOGS_FOLDER_NAME)
unless File.exist?(containing)
FileUtils.mkdir_p(containing)
end
- path = File.join(containing, "#{release_listing.version}.txt")
- UI.message("Writing to #{path}...")
- File.write(path, release_listing.release_notes)
+ release_listing.versioncodes.each do |versioncode|
+ path = File.join(containing, "#{versioncode}.txt")
+ UI.message("Writing to #{path}...")
+ File.write(path, release_listing.release_notes)
+ end
end
private
def metadata_path