From 3e70318432640d4106759e296b7fbad825c9a52f Mon Sep 17 00:00:00 2001 From: Oliver Meyer Date: Fri, 24 Apr 2026 10:50:00 +0200 Subject: [PATCH] fix(ci): include v prefix in release_version output for Ketryx Ketryx version names start with "v" (e.g. v1.3.0), but the get-release-version step was stripping it by capturing only the part after "v" in the regex match. This caused the version passed to the Ketryx compliance check to be bare semver (e.g. 1.3.0). Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci-cd.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 6da79b714..da162873f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -51,7 +51,8 @@ jobs: GITHUB_REF_NAME: ${{ github.ref_name }} run: | if [[ "$GITHUB_REF_NAME" =~ ^release/v(.+)$ ]]; then - echo "release_version=${BASH_REMATCH[1]}" >> "$GITHUB_OUTPUT" + # Ketryx version names start with "v", so we must preserve the prefix. + echo "release_version=v${BASH_REMATCH[1]}" >> "$GITHUB_OUTPUT" else echo "release_version=" >> "$GITHUB_OUTPUT" fi