From 4d6af727c6e1996db0f33f6f469442cfa05384bc Mon Sep 17 00:00:00 2001 From: Jamil Date: Mon, 10 Jun 2024 12:21:06 -0600 Subject: [PATCH] ci: split release drafter configs (#5297) How the heck --- ...rafter.yml => release-drafter-gateway.yml} | 1 + .github/release-drafter-gui-client.yml | 57 +++++++++++++++++++ .github/release-drafter-headless-client.yml | 57 +++++++++++++++++++ .github/workflows/ci.yml | 12 ++-- 4 files changed, 123 insertions(+), 4 deletions(-) rename .github/{release-drafter.yml => release-drafter-gateway.yml} (98%) create mode 100644 .github/release-drafter-gui-client.yml create mode 100644 .github/release-drafter-headless-client.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter-gateway.yml similarity index 98% rename from .github/release-drafter.yml rename to .github/release-drafter-gateway.yml index d744348b4..b865beb3c 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter-gateway.yml @@ -1,3 +1,4 @@ +tag-prefix: "gateway-" name-template: "$RESOLVED_VERSION" tag-template: "$RESOLVED_VERSION" autolabeler: diff --git a/.github/release-drafter-gui-client.yml b/.github/release-drafter-gui-client.yml new file mode 100644 index 000000000..4ab0c1e69 --- /dev/null +++ b/.github/release-drafter-gui-client.yml @@ -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 diff --git a/.github/release-drafter-headless-client.yml b/.github/release-drafter-headless-client.yml new file mode 100644 index 000000000..3142e6c82 --- /dev/null +++ b/.github/release-drafter-headless-client.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5c14dd61..e9da86950 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}