|
|
|
@ -8,16 +8,16 @@ |
|
|
|
#* and the display string of such type |
|
|
|
#* and the display string of such type |
|
|
|
local -A TYPES |
|
|
|
local -A TYPES |
|
|
|
TYPES=( |
|
|
|
TYPES=( |
|
|
|
[build]="Build system" |
|
|
|
build "Build system" |
|
|
|
[chore]="Chore" |
|
|
|
chore "Chore" |
|
|
|
[ci]="CI" |
|
|
|
ci "CI" |
|
|
|
[docs]="Documentation" |
|
|
|
docs "Documentation" |
|
|
|
[feat]="Features" |
|
|
|
feat "Features" |
|
|
|
[fix]="Bug fixes" |
|
|
|
fix "Bug fixes" |
|
|
|
[perf]="Performance" |
|
|
|
perf "Performance" |
|
|
|
[refactor]="Refactor" |
|
|
|
refactor "Refactor" |
|
|
|
[style]="Style" |
|
|
|
style "Style" |
|
|
|
[test]="Testing" |
|
|
|
test "Testing" |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
#* Types that will be displayed in their own section, |
|
|
|
#* Types that will be displayed in their own section, |
|
|
|
@ -274,8 +274,8 @@ function display-release { |
|
|
|
(( $#breaking != 0 )) || return 0 |
|
|
|
(( $#breaking != 0 )) || return 0 |
|
|
|
|
|
|
|
|
|
|
|
case "$output" in |
|
|
|
case "$output" in |
|
|
|
raw) display:type-header "BREAKING CHANGES" ;; |
|
|
|
raw) fmt:header "BREAKING CHANGES" 3 ;; |
|
|
|
text|md) display:type-header "⚠ BREAKING CHANGES" ;; |
|
|
|
text|md) fmt:header "⚠ BREAKING CHANGES" 3 ;; |
|
|
|
esac |
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
local hash subject |
|
|
|
local hash subject |
|
|
|
|