From db56f242de3a199962a9e82e09ed8e8a8df68572 Mon Sep 17 00:00:00 2001 From: Charly Molter Date: Fri, 8 Nov 2024 11:17:35 +0100 Subject: [PATCH 1/2] ci(github): fix release.yaml to use label:dev in version.yaml This fixes: https://github.com/kumahq/kuma-website/pull/2073 which is needed as we moved to the latest site-generator with: https://github.com/kumahq/kuma-website/pull/1623 Signed-off-by: Charly Molter --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8ed2f1c6ecdc..9016d656c7d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,7 @@ env: CHECK: ${{ inputs.check || 'false' }} EDITION: kuma MIN_VERSION: "1.2.0" - USE_LABEL_IN_VERSION: "false" + USE_LABEL_IN_VERSION: "true" permissions: contents: read jobs: From 3837f0c455c95927217fd71070d8ad8e439754a7 Mon Sep 17 00:00:00 2001 From: Charly Molter Date: Fri, 8 Nov 2024 11:30:54 +0100 Subject: [PATCH 2/2] use latest release-tool Signed-off-by: Charly Molter --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9016d656c7d5..4f76d7419498 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -28,7 +28,6 @@ env: CHECK: ${{ inputs.check || 'false' }} EDITION: kuma MIN_VERSION: "1.2.0" - USE_LABEL_IN_VERSION: "true" permissions: contents: read jobs: @@ -45,7 +44,7 @@ jobs: - name: install-kuma-ci-tools run: | echo $(go env GOPATH)/bin >> $GITHUB_PATH - go install github.com/kumahq/ci-tools/cmd/release-tool@v0.13.1 + go install github.com/kumahq/ci-tools/cmd/release-tool@v1.0.0 - name: Generate GitHub app token id: github-app-token uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 @@ -85,7 +84,7 @@ jobs: env: GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }} run: | - release-tool version-file --repo ${{ github.repository }} --edition ${{ env.EDITION }} --min-version ${{ env.MIN_VERSION }} --use-label-for-dev=${{ env.USE_LABEL_IN_VERSION }} > versions.yml + release-tool version-file --repo ${{ github.repository }} --edition ${{ env.EDITION }} --min-version ${{ env.MIN_VERSION }} > versions.yml - name: update-CHANGELOG.md env: GITHUB_TOKEN: ${{ steps.github-app-token.outputs.token }}