Skip to content

Commit

Permalink
Update release-drafter to refine templates and add prerelease config
Browse files Browse the repository at this point in the history
Revised the name and tag templates to remove the '-alpha' suffix and introduced a separate prerelease identifier. Ensured the release description includes a clear section for contributors and a full changelog link.
  • Loading branch information
kerem-acer committed Nov 6, 2024
1 parent e8e957e commit 6c75c74
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
name-template: 'v$RESOLVED_VERSION-alpha'
tag-template: 'v$RESOLVED_VERSION-alpha'
commitish: main
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
prerelease: true
prerelease-identifier: 'alpha'

template: |
## What's Changed
$CHANGES
## 👥 Contributors
$CONTRIBUTORS
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
version-resolver:
major:
Expand Down Expand Up @@ -47,13 +57,4 @@ categories:
exclude-labels:
- 'skip-changelog'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'

template: |
## What's Changed
$CHANGES
> ⚠️ This is an alpha release and may contain breaking changes.
## 👥 Contributors
$CONTRIBUTORS
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'

0 comments on commit 6c75c74

Please sign in to comment.