From ea6923eb309e0e832ffbd6efded9aceaeb5eb8f3 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Sat, 11 Jan 2020 14:45:00 +0100 Subject: [PATCH] [JENKINS-60740] - Switch Release Drafter to a standard Markdown layout --- .github/release-drafter.yml | 37 +++++-------------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 84656fc8eb..08d586f577 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,29 +1,16 @@ # 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. +extends: .github +# We use the 2-digit versioning in Jenkins weekly releases. version-template: $MAJOR.$MINOR +name-template: $NEXT_MINOR_VERSION tag-template: jenkins-$NEXT_MINOR_VERSION -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. + See https://jenkins.io/changelog/ for the official changelogs. + See the attached `changelog.yaml` for a draft machine-readable changelog for jenkins.io - ```yaml $CHANGES - ``` # Categories will be commented out, because we use YAML # Now we use categories only for sorting @@ -44,17 +31,3 @@ categories: label: developer - title: Internal changes label: internal - -replacers: - - search: '/\[*JENKINS-(\d+)\]*\s*-*\s*/g' - replace: |- - issue: $1 - message: |- - - - search: |- - message: |- - issue: - replace: "issue:" - - - search: "##" - replace: "#"