Skip to content

Commit

Permalink
Fix #1385 Add release drafter (#1386)
Browse files Browse the repository at this point in the history
* Fix #1385 Add release drafter

* Use proper tag template
  • Loading branch information
muuki88 committed Dec 17, 2020
1 parent dbc85c4 commit 133fc43
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

name-template: '$RESOLVED_VERSION SBT Native Packager πŸ“¦'
tag-template: 'v$RESOLVED_VERSION'
categories:
- title: 'πŸš€ New Features'
label:
- 'feature'
- 'feature request'
- title: '🐳 Docker'
label: 'docker'
- title: 'πŸ“¦ GraalVM'
label: 'graalvm'
- title: 'πŸ“¦ Universal (zip, tar, gz)'
label: 'universal'
- title: 'πŸ“¦ Debian'
label: 'debian'
- title: 'πŸ“¦ Jlink'
label: 'jlink'
- title: 'πŸ“¦ JDK Packager'
label: 'jdkpackager'
- title: 'πŸ“¦ DMG (MacOSX)'
label: 'macosx'
- title: 'πŸ“¦ RPM'
label: 'rpm'
- title: 'πŸ“¦ Windows'
label: 'window'
- title: 'πŸ› Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
change-template: '- $TITLE (#$NUMBER)'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## In This Release
$CHANGES
19 changes: 19 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Drafter

on:
pull_request:
push:
# branches to consider in the event; optional, defaults to all
branches:
- $default-branch

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 133fc43

Please sign in to comment.