Skip to content

A platform for community discussion. Free, open, simple.

DEV: generated release notes shouldn't include squashed commits (#10936)

Neil Lalonded77e30a0118b
diff --git a/lib/tasks/release_note.rake b/lib/tasks/release_note.rake
index e39a6dcec2e..83220c52019 100644
--- a/lib/tasks/release_note.rake
+++ b/lib/tasks/release_note.rake
@@ -11,7 +11,7 @@ task "release_note:generate", :from, :to do |t, args|
sec_changes = Set.new
perf_changes = Set.new
- `git log #{from}..#{to}`.each_line do |comment|
+ `git log --pretty="tformat:%s" #{from}..#{to}`.each_line do |comment|
next if comment =~ /^\s*Revert/
split_comments(comment).each do |line|
if line =~ /^FIX:/