Browse Source

feat(changelog): change style of `BREAKING CHANGES` header

Marc Cornellà 2 years ago
parent
commit
7336ebcd8f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tools/changelog.sh

+ 2 - 1
tools/changelog.sh

@@ -285,8 +285,9 @@ function display-release {
     (( $#breaking != 0 )) || return 0
 
     case "$output" in
+    text) fmt:header "\e[31mBREAKING CHANGES" 3 ;;
     raw) fmt:header "BREAKING CHANGES" 3 ;;
-    text|md) fmt:header "BREAKING CHANGES" 3 ;;
+    md) fmt:header "BREAKING CHANGES" 3 ;;
     esac
 
     local hash subject