mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 09:46:03 -04:00
Update tools/release/generate_release_notes.rb
This commit is contained in:
parent
e9ea8b165a
commit
a38c9c6131
1 changed files with 0 additions and 5 deletions
|
@ -45,15 +45,10 @@ coming_tag_index = release_notes.find_index {|line| line.match(/^## #{current_re
|
||||||
coming_tag_index += 1 if coming_tag_index
|
coming_tag_index += 1 if coming_tag_index
|
||||||
release_notes_entry_index = coming_tag_index || release_notes.find_index {|line| line.match(/\[logstash-\d+-release-notes\]$/) }
|
release_notes_entry_index = coming_tag_index || release_notes.find_index {|line| line.match(/\[logstash-\d+-release-notes\]$/) }
|
||||||
|
|
||||||
<<<<<<< HEAD
|
|
||||||
report << "[[logstash-#{current_release_dashes}]]" unless release_notes.any? { |line| line.match(/^\[\[logstash-#{current_release_dashes}/) }
|
|
||||||
report << "=== Logstash #{current_release} Release Notes\n" unless release_notes.any? { |line| line.match(/^=== Logstash #{current_release}/)}
|
|
||||||
=======
|
|
||||||
unless coming_tag_index
|
unless coming_tag_index
|
||||||
report << "## #{current_release} [logstash-#{current_release_no_dot}-release-notes]\n\n"
|
report << "## #{current_release} [logstash-#{current_release_no_dot}-release-notes]\n\n"
|
||||||
report << "### Features and enhancements [logstash-#{current_release_no_dot}-features-enhancements]\n"
|
report << "### Features and enhancements [logstash-#{current_release_no_dot}-features-enhancements]\n"
|
||||||
end
|
end
|
||||||
>>>>>>> dd01e5c8 ([chore] support markdown release notes generation (#17613))
|
|
||||||
|
|
||||||
plugin_changes = {}
|
plugin_changes = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue