From 4af982d7166921e976569086a3ce78e711407c68 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Thu, 15 Dec 2022 16:43:14 +0000 Subject: [PATCH 1/4] Publish release draft on relase branch builds as well as tag --- .github/workflows/release-drafter.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml index 1e17a264ad..a2c1f442f6 100644 --- a/.github/workflows/release-drafter.yaml +++ b/.github/workflows/release-drafter.yaml @@ -2,9 +2,10 @@ name: release-drafter on: push: - # trigger on tags only tags: - v* + release: + - release* workflow_dispatch: From 6c4d5803e8b5833311cc433a901e01736d2cd57f Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Thu, 15 Dec 2022 16:45:45 +0000 Subject: [PATCH 2/4] Add name-template to release-drafter.yml --- .github/release-drafter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 128781c705..9d7d935654 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,3 +1,4 @@ +name-template: 'v$RESOLVED_VERSION' categories: - title: '⚠ Breaking Changes' labels: From 7afc6ed4dfa969806c28b422e5705d9725f8ec07 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Thu, 15 Dec 2022 21:23:57 +0000 Subject: [PATCH 3/4] Correct push name s/release/branches/ --- .github/workflows/release-drafter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml index a2c1f442f6..0fd0eafeb6 100644 --- a/.github/workflows/release-drafter.yaml +++ b/.github/workflows/release-drafter.yaml @@ -4,7 +4,7 @@ on: push: tags: - v* - release: + branches: - release* workflow_dispatch: From 013baf7818e823884489b5da2cd09b8f26f84623 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy Date: Thu, 15 Dec 2022 21:26:44 +0000 Subject: [PATCH 4/4] Wrap branch name in quotes to match GitHub docs recommendation --- .github/workflows/release-drafter.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-drafter.yaml b/.github/workflows/release-drafter.yaml index 0fd0eafeb6..5b2b816670 100644 --- a/.github/workflows/release-drafter.yaml +++ b/.github/workflows/release-drafter.yaml @@ -5,7 +5,7 @@ on: tags: - v* branches: - - release* + - 'release*' workflow_dispatch: