File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -338,7 +338,7 @@ class ChangelogEntry
338338
339339 def to_s (io : IO )
340340 if sub_topic = pr.sub_topic
341- io << " * (" << sub_topic << " )* "
341+ io << " _ (" << sub_topic << " )_ "
342342 end
343343 if pr.labels.includes?(" security" )
344344 io << " **[security]** "
@@ -454,8 +454,7 @@ TOPIC_ORDER = %w[lang stdlib compiler tools other]
454454puts " ## [#{ milestone.title } ] (#{ milestone.release_date.try(& .to_s(" %F" )) || " unreleased" } )"
455455if description = milestone.description.presence
456456 puts
457- print " _" , description
458- puts " _"
457+ puts description
459458end
460459puts
461460puts " [#{ milestone.title } ]: https://github.com/#{ repository } /releases/#{ milestone.title } "
Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ rm -f src/SOURCE_DATE_EPOCH
2525# Truncate CHANGELOG.md
2626sed -i -E ' /^## \[/,/^## Previous Releases/{/^## Previous Releases/!d}' CHANGELOG.md
2727
28- if ! grep -q https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION% .* } /CHANGELOG.md CHANGELOG.md; then
28+ if ! grep -q " https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION% .* } /CHANGELOG.md" CHANGELOG.md; then
2929 sed -i -E " /For information on prior releases/{ N;a\
30- * [${CRYSTAL_VERSION% .* } ](https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION% .* } /CHANGELOG.md)
30+ - [${CRYSTAL_VERSION% .* } ](https://github.com/crystal-lang/crystal/blob/release/${CRYSTAL_VERSION% .* } /CHANGELOG.md)
3131 }" CHANGELOG.md
3232fi
3333
You can’t perform that action at this time.
0 commit comments