lib/cookbook-release/git-utilities.rb in cookbook-release-1.1.8 vs lib/cookbook-release/git-utilities.rb in cookbook-release-1.1.9
- old
+ new
@@ -67,10 +67,10 @@
message = commit.message.lines.map(&:chomp).compact.delete_if(&:empty?)
Commit.new(
author: commit.author.name,
subject: message.delete_at(0),
hash: short_sha ? commit.sha[0,7] : commit.sha,
- body: message.empty? ? nil : message.join('\n')
+ body: message.empty? ? nil : message.join("\n")
)
end.reject { |commit| commit[:subject] =~ /^Merge branch (.*) into/i }
end
def tag(version)