Skip to content

Commit 6d7720f

Browse files
olivermeyerclaude
andcommitted
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 <noreply@anthropic.com>
1 parent 2eb340f commit 6d7720f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ jobs:
5151
GITHUB_REF_NAME: ${{ github.ref_name }}
5252
run: |
5353
if [[ "$GITHUB_REF_NAME" =~ ^release/v(.+)$ ]]; then
54-
echo "release_version=${BASH_REMATCH[1]}" >> "$GITHUB_OUTPUT"
54+
# Ketryx version names start with "v", so we must preserve the prefix.
55+
echo "release_version=v${BASH_REMATCH[1]}" >> "$GITHUB_OUTPUT"
5556
else
5657
echo "release_version=" >> "$GITHUB_OUTPUT"
5758
fi

0 commit comments

Comments
 (0)