[WEBSITE-634] - Add Release Drafter configuration for drafting Weekly release YAMLs (#4097)

* [WEBSITE-634] - Add Release Drafter configurationfor drafting Weekly release YAMLs

* Release Drafter: add a disclaimer about the draft status
This commit is contained in:
Oleg Nenashev authored and GitHub committed 2019-07-18 12:41:43 +02:00
1 parent 2c6444f3d3
commit 59cd469880
1 file changed
+36
+36
View File
@@ -0,0 +1,36 @@
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
name-template: $NEXT_PATCH_VERSION
# Uses a more common 2-digit versioning in Jenkins weekly releases.
version-template: $MAJOR.$MINOR
tag-template: jenkins-$NEXT_MINOR_VERSION
# TODO: categories are YAGNI for now, until we can extract `type` somehow
exclude-labels:
- reverted
- no-changelog
- skip-changelog
- invalid
change-template: |-
- type: todo
message: |-
$TITLE
pull: $NUMBER
authors:
- $AUTHOR
template: |
**Disclaimer**: This is an automatically generated changelog draft for Jenkins weekly releases.
See https://jenkins.io/changelog/ for the official changelogs.
```yaml
$CHANGES
```
replacers:
- search: '/\[*JENKINS-(\d+)\]*\s*-*\s*/g'
replace: |-
issue: $1
message: |-
- search: |-
message: |-
issue:
replace: "issue:"