deliver/lib/deliver/setup.rb in fastlane-2.29.0 vs deliver/lib/deliver/setup.rb in fastlane-2.29.1
- old
+ new
@@ -64,9 +64,20 @@
resulting_path = File.join(path, "#{key}.txt")
File.write(resulting_path, content)
UI.message("Writing to '#{resulting_path}'")
end
+ # Trade Representative Contact Information
+ UploadMetadata::TRADE_REPRESENTATIVE_CONTACT_INFORMATION_VALUES.each do |key, option_name|
+ content = v.send(key).to_s
+ content << "\n"
+ base_dir = File.join(path, UploadMetadata::TRADE_REPRESENTATIVE_CONTACT_INFORMATION_DIR)
+ FileUtils.mkdir_p(base_dir)
+ resulting_path = File.join(base_dir, "#{option_name}.txt")
+ File.write(resulting_path, content)
+ UI.message("Writing to '#{resulting_path}'")
+ end
+
# Review information
UploadMetadata::REVIEW_INFORMATION_VALUES.each do |key, option_name|
content = v.send(key).to_s
content << "\n"
base_dir = File.join(path, UploadMetadata::REVIEW_INFORMATION_DIR)