chore: update release drafter configuration and workflow to v6

This commit is contained in:
Dr-Blank 2024-09-18 01:38:02 -04:00
parent 9733951296
commit 36c90c20bc
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
2 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,4 @@
name-template: "v$RESOLVED_VERSION 🌈"
name-template: "v$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
# name-template: 'v$NEXT_PATCH_VERSION'
# tag-template: 'v$NEXT_PATCH_VERSION'
@ -15,7 +15,10 @@ categories:
- "bug"
- title: "🧰 Maintenance"
label: "chore"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
- title: "💥 Breaking Changes"
labels:
- "breaking"
change-template: "- $TITLE by @$AUTHOR in #$NUMBER"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
version-resolver:
major:
@ -33,7 +36,7 @@ template: |
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...$NEW_TAG
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
exclude-labels:
- "skip-changelog"
@ -54,3 +57,6 @@ autolabeler:
- "/feat(ure)?/i"
body:
- "/JIRA-[0-9]{1,4}/"
- label: "chore"
title:
- "/chore/i"

View file

@ -62,7 +62,7 @@ jobs:
- name: Generate Release Notes
id: generate_release_notes
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ github.token }}
@ -70,6 +70,6 @@ jobs:
uses: ncipollo/release-action@v1
with:
artifacts: build/app/outputs/flutter-apk/app-release.apk
name: Release ${{ steps.version.outputs.version }}
name: v${{ steps.version.outputs.version }}
tag: ${{ github.ref }}
body: ${{ steps.generate_release_notes.outputs.body }}