deliver/lib/deliver/setup.rb in fastlane-2.30.0.beta.20170510010041 vs deliver/lib/deliver/setup.rb in fastlane-2.30.0.beta.20170511010018
- 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)