-
Notifications
You must be signed in to change notification settings - Fork 1
/
.changie.yaml
109 lines (105 loc) · 2.76 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
changesDir: .changes
unreleasedDir: unreleased
headerPath: header.tpl.md
changelogPath: CHANGELOG.md
versionExt: md
versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
kindFormat: '### {{.Kind}}'
changeFormat: '- {{ .Body -}}'
footerFormat: |
{{- $azureBoardsFixed := customs .Changes "azure-boards-workitemid-fixed" | compact | uniq }}
{{ $azureBoardsRelated := customs .Changes "azure-boards-workitemid-related" | compact | uniq }}
{{ $GitHubLinks := customs .Changes "github-link" | compact | uniq }}
{{ $GitHubContributors := customs .Changes "github-contributor" | compact | uniq -}}
### Related
{{ range $azureBoardsFixed }}
- fixes AB#{{.}}
{{- end -}}
{{ range $azureBoardsRelated }}
- related AB#{{.}}
{{- end -}}
{{ range $GitHubLinks }}
- <{{.}}>
{{- end }}
{{ with $GitHubContributors }}
### Contributors
{{ range $GitHubContributors }}
- [{{.}}](https://github.com/{{.}})
{{ end }}
{{ end }}
kinds:
- label: 🤖 CI & Build
auto: patch
- label: 🎉 New Product Feature
auto: minor
- label: ⬇️ Deprecated
auto: minor
- label: 🧪 Tests
auto: patch
- label: 🔨 Refactor
auto: patch
- label: 🐛 Bug Fix
auto: patch
- label: 🔥 Breaking Change
auto: minor
- label: 🔒 Security
auto: patch
- label: ⬆️ Dependencies
auto: patch
- label: 🔥 Major Version Change (Breaking Changes)
auto: major
newlines:
afterChange: 0
afterChangelogHeader: 1
afterChangelogVersion: 1
afterComponent: 1
afterFooterFile: 1
afterFooter: 1
afterHeaderFile: 1
afterHeaderTemplate: 1
afterKind: 1
afterVersion: 1
beforeChange: 0
beforeChangelogVersion: 0
beforeComponent: 0
beforeFooterFile: 0
beforeFooterTemplate: 0
beforeHeaderFile: 0
beforeHeaderTemplate: 0
beforeKind: 0
beforeVersion: 0
endOfVersion: 0
custom:
- key: github-contributor
type: string
minLength: 3
optional: true
- key: github-link
label: GitHub Link
type: string
minLength: 3
optional: true
- key: azure-boards-workitemid-fixed
label: FIXED Azure Boards WorkItem ID
type: int
minLength: 6
optional: true
- key: azure-boards-workitemid-related
label: Related Azure Boards WorkItem ID
type: int
minLength: 6
optional: true
replacements:
# chart versions align with the release and get bumped by changie for us on `changie merge`.
- path: 'dsv/package.json'
find: ' "version": ".*",'
replace: ' "version": "{{.VersionNoPrefix}}",'
- path: dsv/task.json
find: ' "Major": .*,'
replace: ' "Major": {{.Major}},'
- path: dsv/task.json
find: ' "Minor": .*,'
replace: ' "Minor": {{.Minor}},'
- path: dsv/task.json
find: ' "Patch": .*'
replace: ' "Patch": {{.Patch}}'