Skip to content

Commit

Permalink
enable version resolver for semantic plugin versioning based on tags
Browse files Browse the repository at this point in the history
make sure name-template and tag-template are always in sync
provide a default release text template
it's also useful to be able to start the workflow manually when tags are added/updated after the last run
  • Loading branch information
stefanseifert committed Jan 5, 2022
1 parent 357b8a0 commit b827092
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/release-drafter.yml
@@ -1,2 +1,19 @@
_extends: .github
tag-template: versions-maven-plugin-$NEXT_MINOR_VERSION
name-template: '$RESOLVED_VERSION'
tag-template: 'versions-maven-plugin-$RESOLVED_VERSION'
version-resolver:
major:
labels:
- major
minor:
labels:
- minor
- enhancement
patch:
labels:
- patch
default: patch
template: |
## Changes
$CHANGES
1 change: 1 addition & 0 deletions .github/workflows/release-drafter.yml
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
workflow_dispatch:
jobs:
update_release_draft:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b827092

Please sign in to comment.