From 851f129b208afd4b9338dc322320dca39ab472a9 Mon Sep 17 00:00:00 2001 From: Edd Mann Date: Tue, 6 Jan 2026 23:58:02 +0000 Subject: [PATCH] feat: add version-resolver for PR-based version bumps Switch from $NEXT_PATCH_VERSION to $RESOLVED_VERSION with version-resolver config. This enables major/minor/patch version bumps via PR labels. --- .github/release-drafter.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 98bf3be..e2a72da 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,6 +1,19 @@ -name-template: $NEXT_PATCH_VERSION -tag-template: $NEXT_PATCH_VERSION +name-template: $RESOLVED_VERSION +tag-template: $RESOLVED_VERSION commitish: draft-release + +version-resolver: + major: + labels: + - 'major' + minor: + labels: + - 'minor' + patch: + labels: + - 'patch' + default: patch + template: | ## Changes