Skip to content

Commit

Permalink
Make release drafter resolve the next version automatically (#130)
Browse files Browse the repository at this point in the history
This should make my life a little easier.
  • Loading branch information
IncPlusPlus committed Oct 7, 2021
1 parent e7553f8 commit 5e18be2
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name-template: Version $NEXT_PATCH_VERSION
tag-template: v$NEXT_PATCH_VERSION
name-template: Version $RESOLVED_VERSION
tag-template: v$RESOLVED_VERSION
branches:
- main
exclude-labels:
Expand Down Expand Up @@ -27,9 +27,19 @@ categories:
label: 'dependencies'
- title: '🧰 Maintenance'
label: 'chore'

change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
$CHANGES
***
For full changes, see the [comparison between $PREVIOUS_TAG and v$NEXT_PATCH_VERSION](https://github.com/IncPlusPlus/titanfall2-rp/compare/$PREVIOUS_TAG...v$NEXT_PATCH_VERSION)
For full changes, see the [comparison between $PREVIOUS_TAG and v$RESOLVED_VERSION](https://github.com/IncPlusPlus/titanfall2-rp/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION)

0 comments on commit 5e18be2

Please sign in to comment.