-
Notifications
You must be signed in to change notification settings - Fork 0
/
release-drafter.yml
114 lines (110 loc) · 3.28 KB
/
release-drafter.yml
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
110
111
112
113
114
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
# What's Changed
$CHANGES
categories:
- title: 'Breaking'
label: 'type: breaking'
- title: 'New'
label: 'type: feature'
- title: 'Bug Fixes'
label: 'type: bug'
- title: 'Maintenance'
label: 'type: maintenance'
- title: 'Documentation'
label: 'type: docs'
- title: 'Dependency Updates'
label: 'type: dependencies'
version-resolver:
major:
labels:
- 'type: breaking'
minor:
labels:
- 'type: feature'
patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: docs'
- 'type: dependencies'
- 'type: security'
# # Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
# name-template: $NEXT_MINOR_VERSION
# tag-template: $NEXT_MINOR_VERSION
# # Uses a more common 2-digit versioning in Jenkins plugins. Can be replaced by semver: $MAJOR.$MINOR.$PATCH
# version-template: $MAJOR.$MINOR
# # Emoji reference: https://gitmoji.carloscuesta.me/
# categories:
# - title: ":boom: Breaking changes"
# labels:
# - breaking
# - title: 🚨 Removed
# label: removed
# - title: ":tada: Major features and improvements"
# labels:
# - major-enhancement
# - major-rfe
# - title: 🐛 Major bug fixes
# labels:
# - major-bug
# - title: ⚠️ Deprecated
# label: deprecated
# - title: 🚀 New features and improvements
# labels:
# - enhancement
# - feature
# - rfe
# - title: 🐛 Bug Fixes
# labels:
# - bug
# - fix
# - bugfix
# - regression
# - title: ":construction_worker: Changes for plugin developers"
# labels:
# - developer
# # Default label used by Dependabot
# - title: 📦 Dependency updates
# label: dependencies
# - title: 📝 Documentation updates
# label: documentation
# - title: 👻 Maintenance
# labels:
# - chore
# - internal
# - title: 🚦 Tests
# labels:
# - test
# - tests
# exclude-labels:
# - reverted
# - no-changelog
# - skip-changelog
# - invalid
# template: |
# <!-- Optional: add a release summary here -->
# $CHANGES
# replacers:
# - search: '/\[*JENKINS-(\d+)\]*\s*-*\s*/g'
# replace: '[JENKINS-$1](https://issues.jenkins-ci.org/browse/JENKINS-$1) - '
# - search: '/\[*INFRA-(\d+)\]*\s*-*\s*/g'
# replace: '[INFRA-$1](https://issues.jenkins-ci.org/browse/INFRA-$1) - '
# - search: '/\[*WEBSITE-(\d+)\]*\s*-*\s*/g'
# replace: '[WEBSITE-$1](https://issues.jenkins-ci.org/browse/WEBSITE-$1) - '
# - search: '/\[*HOSTING-(\d+)\]*\s*-*\s*/g'
# replace: '[HOSTING-$1](https://issues.jenkins-ci.org/browse/HOSTING-$1) - '
# # TODO(oleg_nenashev): Find a better way to reference issues
# - search: '/\[*SECURITY-(\d+)\]*\s*-*\s*/g'
# replace: '[SECURITY-$1](https://jenkins.io/security/advisories/) - '
# - search: '/\[*JEP-(\d+)\]*\s*-*\s*/g'
# replace: '[JEP-$1](https://github.com/jenkinsci/jep/tree/master/jep/$1) - '
# - search: '/CVE-(\d{4})-(\d+)/g'
# replace: 'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-$1-$2'
# - search: 'JFR'
# replace: 'Jenkinsfile Runner'
# - search: 'CWP'
# replace: 'Custom WAR Packager'
# - search: '@dependabot-preview'
# replace: '@dependabot