From ae4d91a471cae429486b1853184f32cca0469eb0 Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sat, 4 Mar 2023 10:41:34 +0000 Subject: [PATCH] Enhancement (ci): Add `change` label to `release-drafter.yml` --- .github/release-drafter.yml | 10 ++++------ generate/templates/.github/release-drafter.yml.ps1 | 10 ++++------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 037af80..80c8b7b 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,14 +1,14 @@ -name-template: 'v$RESOLVED_VERSION 🌈' +name-template: 'v$RESOLVED_VERSION 🌈' tag-template: 'v$RESOLVED_VERSION' categories: - title: '🚀 Features' labels: - 'feature' - 'enhancement' + - 'change' - title: '🐛 Bug Fixes' labels: - 'fix' - - 'bugfix' - 'bug' - title: '🖊️ Refactors' labels: @@ -26,23 +26,21 @@ change-template: '- $TITLE @$AUTHOR (#$NUMBER)' version-resolver: major: labels: - # - 'major' - 'breaking' minor: labels: - # - 'minor' - 'feature' - 'enhancement' + - 'change' - 'refactor' patch: labels: - # - 'patch' - 'fix' - - 'bugfix' - 'bug' - 'style' - 'docs' - 'documentation' + - 'chore' default: patch sort-by: title template: | diff --git a/generate/templates/.github/release-drafter.yml.ps1 b/generate/templates/.github/release-drafter.yml.ps1 index 737594b..9cb863e 100644 --- a/generate/templates/.github/release-drafter.yml.ps1 +++ b/generate/templates/.github/release-drafter.yml.ps1 @@ -1,15 +1,15 @@ @' -name-template: 'v$RESOLVED_VERSION 🌈' +name-template: 'v$RESOLVED_VERSION 🌈' tag-template: 'v$RESOLVED_VERSION' categories: - title: '🚀 Features' labels: - 'feature' - 'enhancement' + - 'change' - title: '🐛 Bug Fixes' labels: - 'fix' - - 'bugfix' - 'bug' - title: '🖊️ Refactors' labels: @@ -27,23 +27,21 @@ change-template: '- $TITLE @$AUTHOR (#$NUMBER)' version-resolver: major: labels: - # - 'major' - 'breaking' minor: labels: - # - 'minor' - 'feature' - 'enhancement' + - 'change' - 'refactor' patch: labels: - # - 'patch' - 'fix' - - 'bugfix' - 'bug' - 'style' - 'docs' - 'documentation' + - 'chore' default: patch sort-by: title template: |