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:
parent
819f770a47
commit
0ff135b880
1 changed files with 2 additions and 2 deletions
4
Rakefile
4
Rakefile
|
@ -146,8 +146,8 @@ task :changelog do
|
||||||
for line in shortlog.split("\n")
|
for line in shortlog.split("\n")
|
||||||
if line =~ /^\S/
|
if line =~ /^\S/
|
||||||
committer = line.split(' (', 2).first
|
committer = line.split(' (', 2).first
|
||||||
elsif line =~ /^\s*(Merge.*)?$/
|
elsif line =~ /^\s*((Merge.*)|(Release.*))?$/
|
||||||
# skip empty lines and Merge commits
|
# skip empty lines, Merge and Release commits
|
||||||
else
|
else
|
||||||
unless line[-1..-1] == '.'
|
unless line[-1..-1] == '.'
|
||||||
line << '.'
|
line << '.'
|
||||||
|
|
Loading…
Reference in a new issue