Skip to content

Commit ea4e576

Browse files
author
Arthur Costa
committed
feat: add GitHub automatic release notes generation
- Add generate_release_notes: true to auto-tag-enhanced.yml - Add generate_release_notes: true to release-workflows.yml - Combines custom changelog with GitHub's automatic categorization - Provides comprehensive release notes with: * Custom categorized changelog (features, fixes, chores) * GitHub's automatic contributor attribution * Pull request and issue linking * Commit hash inclusion * Breaking changes highlighting
1 parent 0b2de86 commit ea4e576

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/auto-tag-enhanced.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ jobs:
315315
tag_name: ${{ steps.project-version.outputs.tag-name }}
316316
name: 🚀 Release ${{ steps.project-version.outputs.tag-name }}
317317
body_path: CHANGELOG.md
318+
generate_release_notes: true
318319
draft: false
319320
prerelease: ${{ contains(steps.project-version.outputs.version, 'SNAPSHOT') || contains(steps.project-version.outputs.version, 'RC') }}
320321
files: |
@@ -384,8 +385,8 @@ jobs:
384385
runs-on: ubuntu-latest
385386
needs: [auto-tag-and-release, publish-packages]
386387
if: |
387-
always() &&
388-
needs.auto-tag-and-release.result == 'success' &&
388+
always() &&
389+
needs.auto-tag-and-release.result == 'success' &&
389390
inputs.notify-on-success &&
390391
secrets.SLACK_WEBHOOK_URL != ''
391392
permissions:
@@ -413,7 +414,7 @@ jobs:
413414
runs-on: ubuntu-latest
414415
needs: [auto-tag-and-release, publish-packages]
415416
if: |
416-
always() &&
417+
always() &&
417418
(needs.auto-tag-and-release.result == 'failure' || needs.publish-packages.result == 'failure') &&
418419
inputs.notify-on-failure &&
419420
secrets.SLACK_WEBHOOK_URL != ''

.github/workflows/release-workflows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ $commit"
362362
tag_name: v${{ needs.detect-changes.outputs.next-version }}
363363
name: 🚀 Workflows v${{ needs.detect-changes.outputs.next-version }}
364364
body: ${{ needs.generate-changelog.outputs.release-notes }}
365+
generate_release_notes: true
365366
draft: false
366367
prerelease: ${{ github.event.inputs.pre-release == 'true' }}
367-
generate_release_notes: true
368368
env:
369369
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
370370

0 commit comments

Comments
 (0)