feat(changelog): display message in changelog when no commit is selected in release
Cadoles/mktools/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2023-08-25 08:17:20 -06:00
parent 367dbf1883
commit 35625f66bf
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@
{{ range .Commits -}} {{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }} {{ end }}
{{ else }}
_Nothing functionally significant._
{{ end -}} {{ end -}}
{{- if .NoteGroups -}} {{- if .NoteGroups -}}

View File

@ -71,6 +71,8 @@ cat > .chglog/CHANGELOG.tpl.md << EOF
{{ range .Commits -}} {{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} - {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end }} {{ end }}
{{ else }}
_Nothing functionally significant._
{{ end -}} {{ end -}}
{{- if .NoteGroups -}} {{- if .NoteGroups -}}