mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Don't include reverts in release notes
This commit is contained in:
parent
8959ed9031
commit
1333378f39
1 changed files with 2 additions and 0 deletions
|
@ -6,7 +6,9 @@ task "release_note:generate", :tag do |t, args|
|
||||||
new_features = Set.new
|
new_features = Set.new
|
||||||
ux_changes = Set.new
|
ux_changes = Set.new
|
||||||
|
|
||||||
|
|
||||||
`git log #{tag}..HEAD`.each_line do |comment|
|
`git log #{tag}..HEAD`.each_line do |comment|
|
||||||
|
next if comment =~ /^\s*Revert/
|
||||||
split_comments(comment).each do |line|
|
split_comments(comment).each do |line|
|
||||||
if line =~ /^FIX:/
|
if line =~ /^FIX:/
|
||||||
bug_fixes << better(line)
|
bug_fixes << better(line)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue