Skip to content

Commit

Permalink
[WEBSITE-634] - Add Release Drafter configuration for drafting Weekly…
Browse files Browse the repository at this point in the history
… release YAMLs (jenkinsci#4097)

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

* Release Drafter: add a disclaimer about the draft status
  • Loading branch information
oleg-nenashev authored Jul 18, 2019
1 parent 2c6444f commit 59cd469
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -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:"

0 comments on commit 59cd469

Please sign in to comment.