ci: split release drafter configs (#5297)

How the heck
This commit is contained in:
Jamil
2024-06-10 12:21:06 -06:00
committed by GitHub
parent dc41383140
commit 4d6af727c6
4 changed files with 123 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
tag-prefix: "gateway-"
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
autolabeler:

57
.github/release-drafter-gui-client.yml vendored Normal file
View File

@@ -0,0 +1,57 @@
tag-prefix: "gui-client-"
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
autolabeler:
- label: "area/ci"
title:
- "/^ci/i"
- label: "kind/test"
title:
- "/^test/i"
- label: "kind/feature"
title:
- "/^feat/i"
- label: "kind/bug"
title:
- "/^fix/i"
- "/^bug/i"
- label: "kind/refactor"
title:
- "/^refactor/i"
- label: "kind/chore"
title:
- "/^chore/i"
- label: "kind/docs"
title:
- "/^docs/i"
- label: "kind/security"
title:
- "/^security/i"
- label: "dependencies"
title:
- "/^deps/i"
categories:
- title: "✨ Features"
labels:
- "kind/feature"
- title: "🐛 Bug Fixes"
labels:
- "kind/bug"
- title: "🧰 Maintenance"
label:
- "area/ci"
- "kind/test"
- "kind/refactor"
- "kind/chore"
- "kind/cleanup"
- "dependencies"
- title: "📝 Documentation"
label: "kind/docs"
- title: "🔐 Security"
label: "kind/security"
exclude-labels:
- "skip-changelog"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
template: |
$CHANGES

View File

@@ -0,0 +1,57 @@
tag-prefix: "headless-client-"
name-template: "$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
autolabeler:
- label: "area/ci"
title:
- "/^ci/i"
- label: "kind/test"
title:
- "/^test/i"
- label: "kind/feature"
title:
- "/^feat/i"
- label: "kind/bug"
title:
- "/^fix/i"
- "/^bug/i"
- label: "kind/refactor"
title:
- "/^refactor/i"
- label: "kind/chore"
title:
- "/^chore/i"
- label: "kind/docs"
title:
- "/^docs/i"
- label: "kind/security"
title:
- "/^security/i"
- label: "dependencies"
title:
- "/^deps/i"
categories:
- title: "✨ Features"
labels:
- "kind/feature"
- title: "🐛 Bug Fixes"
labels:
- "kind/bug"
- title: "🧰 Maintenance"
label:
- "area/ci"
- "kind/test"
- "kind/refactor"
- "kind/chore"
- "kind/cleanup"
- "dependencies"
- title: "📝 Documentation"
label: "kind/docs"
- title: "🔐 Security"
label: "kind/security"
exclude-labels:
- "skip-changelog"
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
template: |
$CHANGES

View File

@@ -47,17 +47,21 @@ jobs:
strategy:
fail-fast: false
matrix:
release_name:
include:
# mark:next-gateway-version
- gateway-1.0.6
- release_name: gateway-1.0.6
config_name: release-drafter-gateway.yml
# mark:next-headless-version
- headless-client-1.0.6
- release_name: headless-client-1.0.6
config_name: release-drafter-headless-client.yml
# mark:next-gui-version
- gui-client-1.0.6
- release_name: gui-client-1.0.6
config_name: release-drafter-gui-client.yml
steps:
- uses: release-drafter/release-drafter@v6
id: update-release-draft
with:
config-name: ${{ matrix.config_name }}
tag: ${{ matrix.release_name }}
version: ${{ matrix.release_name }}
name: ${{ matrix.release_name }}