From fe34bd4000f7b59698e89bc32f5686335b45232c Mon Sep 17 00:00:00 2001 From: Julian Verdurmen <5808377+304NotModified@users.noreply.github.com> Date: Tue, 16 Aug 2022 22:24:07 +0200 Subject: [PATCH 1/3] Create changelog.yml --- .github/workflows/changelog.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 0000000..2c30bcd --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,16 @@ +name: Release Drafter + +on: + push: + # branches to consider in the event; optional, defaults to all + branches: + - master + +jobs: + update_release_draft: + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "master" + - uses: release-drafter/release-drafter@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 95e0c39ee729083124e9a4b6d6e2a80d55ceb97b Mon Sep 17 00:00:00 2001 From: Julian Verdurmen <5808377+304NotModified@users.noreply.github.com> Date: Tue, 16 Aug 2022 22:24:35 +0200 Subject: [PATCH 2/3] Create release-drafter.yml --- .github/release-drafter.yml | 45 +++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..454ae5c --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,45 @@ +name-template: 'Version $NEXT_PATCH_VERSION' +tag-template: 'v$NEXT_PATCH_VERSION' +categories: + - title: '🚀 Features' + labels: + - 'feature' + - title: '👍 Enhancements' + labels: + - 'enhancement' + - 'documentation' + - title: '🐛 Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '⏩ Performance' + labels: + - 'performance' + - title: '🔧 Maintenance' + labels: + - 'refactor' + - 'test' + - 'tests' + - 'build' + - title: '↜ Dependencies' + labels: + - 'dependencies' + - 'dependency' +exclude-labels: + - 'skip-changelog' + - 'release' +version-resolver: + major: + labels: + - 'Major version' + minor: + labels: + - 'Minor version' + patch: + labels: + - 'Patch version' + default: patch +change-template: '- [#$NUMBER]($URL): $TITLE (@$AUTHOR)' +template: | + $CHANGES From 0d169a05d11eb0af09b3acb32fe26c8f2181988e Mon Sep 17 00:00:00 2001 From: Julian Verdurmen <5808377+304NotModified@users.noreply.github.com> Date: Tue, 16 Aug 2022 22:26:12 +0200 Subject: [PATCH 3/3] NEXT_MINOR_VERSION --- .github/release-drafter.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 454ae5c..ec905a6 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,5 @@ -name-template: 'Version $NEXT_PATCH_VERSION' -tag-template: 'v$NEXT_PATCH_VERSION' +name-template: 'Version $NEXT_MINOR_VERSION' +tag-template: 'v$NEXT_MINOR_VERSION' categories: - title: '🚀 Features' labels: