1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[core] omit Release commits from changelog

This commit is contained in:
geemus 2011-05-13 13:52:36 -07:00
parent 819f770a47
commit 0ff135b880

View file

@ -146,8 +146,8 @@ task :changelog do
for line in shortlog.split("\n")
if line =~ /^\S/
committer = line.split(' (', 2).first
elsif line =~ /^\s*(Merge.*)?$/
# skip empty lines and Merge commits
elsif line =~ /^\s*((Merge.*)|(Release.*))?$/
# skip empty lines, Merge and Release commits
else
unless line[-1..-1] == '.'
line << '.'