lib/xcjobs/distribute.rb in xcjobs-0.0.9 vs lib/xcjobs/distribute.rb in xcjobs-0.1.0
- old
+ new
@@ -167,9 +167,10 @@
opts.concat(['-emails', @emails.join(',')]) unless @emails.empty?
opts.concat(['-groupAliases', @group_aliases.join(',')]) unless @group_aliases.empty?
if notes
temp = Tempfile.new('release_notes.txt')
temp.puts(notes)
+ temp.flush
opts.concat(['-notesPath', temp.path])
end
end
end
end