A platform for community discussion. Free, open, simple.
DEV: Don't print plugin changes in details blocks (#22328)
Neil Lalonded6a82f1034ba
diff --git a/lib/tasks/release_note.rake b/lib/tasks/release_note.rakeindex e4bbe63f3d0..9f96eb4c4b3 100644--- a/lib/tasks/release_note.rake+++ b/lib/tasks/release_note.rake@@ -54,7 +54,7 @@ task "release_note:plugins:generate", :from, :to, :plugin_glob, :org do |t, argsendputs "### #{name}\n\n"- CHANGE_TYPES.each { |ct| print_changes_plugin(ct[:heading], changes[ct]) }+ CHANGE_TYPES.each { |ct| print_changes(ct[:heading], changes[ct], "####") }endputs "(No changes found in #{no_changes_repos.join(", ")})"@@ -100,14 +100,6 @@ def print_changes(heading, changes, importance)puts changes.to_a, ""end-def print_changes_plugin(heading, changes)- return if changes.length == 0-- puts "[details=\"#{heading}\"]\n", ""- puts changes.to_a, ""- puts "[/details]\n", ""-end-def better(line)line = remove_prefix(line)line = escape_brackets(line)