mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
Templates and 1 example (#10363)
This commit is contained in:
3
changelog/10077.txt
Normal file
3
changelog/10077.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
core: Fix client.Clone() to include the address
|
||||||
|
```
|
||||||
48
changelog/changelog.tmpl
Normal file
48
changelog/changelog.tmpl
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{{- if index .NotesByType "breaking-change" -}}
|
||||||
|
BREAKING CHANGES:
|
||||||
|
|
||||||
|
{{range index .NotesByType "breaking-change" -}}
|
||||||
|
* {{ template "note" .}}
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .NotesByType.security }}
|
||||||
|
SECURITY:
|
||||||
|
|
||||||
|
{{range .NotesByType.security -}}
|
||||||
|
* {{ template "note" . }}
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .NotesByType.feature -}}
|
||||||
|
FEATURES:
|
||||||
|
|
||||||
|
{{range .NotesByType.feature -}}
|
||||||
|
* {{ template "note" . }}
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .NotesByType.improvement }}
|
||||||
|
IMPROVEMENTS:
|
||||||
|
|
||||||
|
{{range .NotesByType.improvement -}}
|
||||||
|
* {{ template "note" . }}
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .NotesByType.deprecation }}
|
||||||
|
DEPRECATIONS:
|
||||||
|
|
||||||
|
{{range .NotesByType.deprecation -}}
|
||||||
|
* {{ template "note" . }}
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- if .NotesByType.bug }}
|
||||||
|
BUG FIXES:
|
||||||
|
|
||||||
|
{{range .NotesByType.bug -}}
|
||||||
|
* {{ template "note" . }}
|
||||||
|
{{ end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
3
changelog/note.tmpl
Normal file
3
changelog/note.tmpl
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{{- define "note" -}}
|
||||||
|
{{.Body}}{{if not (stringHasPrefix .Issue "_")}} [[GH-{{- .Issue -}}](https://github.com/hashicorp/vault/pull/{{- .Issue -}})]{{end}}
|
||||||
|
{{- end -}}
|
||||||
Reference in New Issue
Block a user