Skip to content

Commit

Permalink
Update release drafter categories and add automatic versioning (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt authored Sep 8, 2022
1 parent 82f2ba1 commit 0e601f6
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
28 changes: 22 additions & 6 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: '🐛 Bug Fixes'
label: 'bug'
- title: '![Logo](https://user-images.githubusercontent.com/98017/186966198-2783741c-9aa4-49bd-a87c-d422cb43b82b.png) Android'
label: 'android'
- title: '![Logo](https://user-images.githubusercontent.com/98017/186967634-50b32436-5ce1-4348-bab5-6325ea03b1ca.png) JVM'
label: 'jvm'
- title: '![Logo](https://user-images.githubusercontent.com/98017/186966151-25925bfa-466d-4d1b-b6b1-3e28a67d1633.png) Apple'
label: 'apple'
- title: '![Logo](https://user-images.githubusercontent.com/98017/186966249-035012d3-cdcf-4ee6-b715-9c8616f8aab7.png) JavaScript'
label: 'javascript'
- title: '🧰 Maintenance'
labels:
- 'maintenance'
- 'renovate'
change-template: '- $TITLE (#$NUMBER)'
exclude-labels:
- 'skip-changelog'
template: |
## 🚀 Changes
$CHANGES
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: $CHANGES
3 changes: 3 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:

jobs:
update-release-draft:
permissions:
contents: write
pull-requests: read
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
Expand Down

0 comments on commit 0e601f6

Please sign in to comment.