-
Notifications
You must be signed in to change notification settings - Fork 0
/
.changie.yaml
34 lines (34 loc) · 954 Bytes
/
.changie.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
changesDir: .changes
unreleasedDir: unreleased
changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.Version}} ({{.Time.Format "January 02, 2006"}})'
kindFormat: '{{.Kind}}:'
changeFormat: |
{{- $issues := splitList "," .Custom.Issues }}
* {{.Body}} ({{- range $i, $issue := $issues }} {{- $trimed := trim $issue }}{{- if $i}}, {{- end}}[#{{$trimed}}](https://github.com/bastionzero/bastionzero-sdk-go/issues/{{$trimed}})
{{- end}}).
custom:
- key: Issues
label: Comma separated list of issue(s)/PR number(s)
type: string
minLength: 1
kinds:
- label: BREAKING CHANGES
auto: major
- label: FEATURES
auto: minor
- label: ENHANCEMENTS
auto: minor
- label: NOTES
auto: patch
- label: BUG FIXES
auto: patch
newlines:
afterKind: 1
beforeKind: 1
endOfVersion: 2
replacements:
- path: bastionzero/bastionzero.go
find: 'libraryVersion = ".*"'
replace: 'libraryVersion = "{{.Version}}"'