Skip to content

Commit

Permalink
fix: release-drafter.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangalilea committed Aug 2, 2024
1 parent 5d2d30b commit b021493
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 30 deletions.
48 changes: 19 additions & 29 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,29 @@
name-template: '$RESOLVED_VERSION'
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
commits:
- '^feat'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '📚 Documentation'
labels:
- 'documentation'
- 'docs'
commits:
- '^fix'
- title: '📝 Documentation'
commits:
- '^docs'
- title: '🧰 Maintenance'
label: 'chore'
- title: '🔧 Refactoring'
label: 'refactor'
commits:
- '^chore'
- title: '♻️ Refactoring'
commits:
- '^refactor'
- title: '🎨 Style'
label: 'style'
- title: '✅ Testing'
label: 'test'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
change-title-escapes: '\<*_&' # You can add # and @ here to escape them too
commits:
- '^style'
- title: '🧪 Testing'
commits:
- '^test'
change-template: '- $TITLE @$AUTHOR ($COMMIT)'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Generate Release Notes
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit b021493

Please sign in to comment.