Skip to content

Commit 61bc4a7

Browse files
authored
Added feature release config for draft releaser (#187)
1 parent 34d8eb2 commit 61bc4a7

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

.github/auto-feature-release.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
filter-by-commitish: true
2+
name-template: 'v$RESOLVED_VERSION'
3+
tag-template: 'v$RESOLVED_VERSION'
4+
prerelease-identifier: 'feature'
5+
version-resolver:
6+
major:
7+
labels:
8+
- 'major'
9+
minor:
10+
labels:
11+
- 'minor'
12+
- 'enhancement'
13+
patch:
14+
labels:
15+
- 'auto-update'
16+
- 'patch'
17+
- 'fix'
18+
- 'bugfix'
19+
- 'bug'
20+
- 'hotfix'
21+
- 'no-release'
22+
default: 'minor'
23+
24+
categories:
25+
- title: '🚀 Enhancements'
26+
labels:
27+
- 'enhancement'
28+
- 'patch'
29+
- title: '🐛 Bug Fixes'
30+
labels:
31+
- 'fix'
32+
- 'bugfix'
33+
- 'bug'
34+
- 'hotfix'
35+
- title: '🤖 Automatic Updates'
36+
labels:
37+
- 'auto-update'
38+
39+
change-template: |
40+
<details>
41+
<summary>$TITLE @$AUTHOR (#$NUMBER)</summary>
42+
$BODY
43+
</details>
44+
template: |
45+
$CHANGES
46+
replacers:
47+
# Remove irrelevant information from Renovate bot
48+
- search: '/(?<=---\s)\s*^#.*(Renovate configuration|Configuration)(?:.|\n)*?This PR has been generated .*/gm'
49+
replace: ''
50+
# Remove Renovate bot banner image
51+
- search: '/\[!\[[^\]]*Renovate\][^\]]*\](\([^)]*\))?\s*\n+/gm'
52+
replace: ''

0 commit comments

Comments
 (0)