-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathrelease-drafter.yml
More file actions
110 lines (93 loc) · 2.35 KB
/
release-drafter.yml
File metadata and controls
110 lines (93 loc) · 2.35 KB
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
# Release Drafter Configuration
# Documentation: https://github.com/release-drafter/release-drafter
name-template: 'Version $RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
# Categories for organizing release notes
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'bug'
- 'fix'
- title: '🔧 Maintenance'
labels:
- 'maintenance'
- 'chore'
- 'refactor'
- 'dependencies'
- title: '📚 Documentation'
labels:
- 'documentation'
- 'docs'
- title: '⚡ Performance'
labels:
- 'performance'
- title: '🔒 Security'
labels:
- 'security'
# Exclude certain labels from release notes
exclude-labels:
- 'skip-changelog'
- 'wip'
# Change template (how each PR is listed)
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # Escape special markdown characters
# Template for the release body
template: |
## What's Changed
$CHANGES
## 📦 NuGet Packages
The following packages are included in this release:
- `MyCSharp.HttpUserAgentParser`
- `MyCSharp.HttpUserAgentParser.AspNetCore`
- `MyCSharp.HttpUserAgentParser.MemoryCache`
### Installation
```bash
dotnet add package MyCSharp.HttpUserAgentParser
dotnet add package MyCSharp.HttpUserAgentParser.AspNetCore
dotnet add package MyCSharp.HttpUserAgentParser.MemoryCache
```
## Contributors
$CONTRIBUTORS
---
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
# Automatically label PRs based on modified files
autolabeler:
- label: 'documentation'
files:
- '*.md'
- 'docs/**/*'
- label: 'bug'
branch:
- '/fix\/.+/'
title:
- '/fix/i'
- label: 'feature'
branch:
- '/feature\/.+/'
title:
- '/feature/i'
- label: 'dependencies'
files:
- '**/packages.lock.json'
- '**/*.csproj'
- 'Directory.Packages.props'
- 'Directory.Build.props'
- label: 'github-actions'
files:
- '.github/workflows/**/*'
- label: 'tests'
files:
- 'tests/**/*'
- '**/*Tests.cs'
- '**/*Test.cs'
- label: 'performance'
files:
- 'perf/**/*'
- '**/*Benchmark*.cs'
# Version resolver (uses version from workflow input)
version-resolver:
default: patch