Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/changelog-build/changelog.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BREAKING CHANGES:
{{ end -}}
{{- end -}}

{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-datasource") (index .NotesByType "new-data-source") (index .NotesByType "new-function" ) (index .NotesByType "new-ephemeral" ) -}}
{{- $features := combineTypes .NotesByType.feature (index .NotesByType "new-resource" ) (index .NotesByType "new-datasource") (index .NotesByType "new-data-source") (index .NotesByType "new-function" ) (index .NotesByType "new-ephemeral" ) (index .NotesByType "new-action" ) -}}
{{- if $features }}
FEATURES:
{{range $features | sort -}}
Expand Down
2 changes: 1 addition & 1 deletion cmd/changelog-build/release-note.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{- define "note" -}}
{{if eq "new-resource" .Type}}**New Resource:** {{else if eq "new-datasource" .Type}}**New Data Source:** {{else if eq "new-function" .Type}}**New Function:** {{else if eq "new-ephemeral" .Type}}**New Ephemeral Resource:** {{ end }}{{.Body}} ([GH-{{- .Issue -}}])
{{if eq "new-resource" .Type}}**New Resource:** {{else if eq "new-datasource" .Type}}**New Data Source:** {{else if eq "new-function" .Type}}**New Function:** {{else if eq "new-ephemeral" .Type}}**New Ephemeral Resource:** {{else if eq "new-action" .Type}}**New Action:** {{ end }}{{.Body}} ([GH-{{- .Issue -}}])
{{- end -}}
1 change: 1 addition & 0 deletions cmd/changelog-entry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The type parameter can be one of the following:
* new-datasource
* new-ephemeral
* new-function
* new-action
* deprecation
* breaking-change
* feature
Expand Down
1 change: 1 addition & 0 deletions cmd/changelog-pr-body-check/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ following types of entries:
* new-datasource
* new-ephemeral
* new-function
* new-action
* deprecation
* breaking-change
* feature
Expand Down
1 change: 1 addition & 0 deletions entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var TypeValues = []string{
"new-datasource",
"new-ephemeral",
"new-function",
"new-action",
"deprecation",
"breaking-change",
}
Expand Down