Skip to content

Commit d795ce5

Browse files
chore(ci): Fix prefix submatch operator for tags (#532)
- This should remove the prefix before the semver in the ref name
1 parent ab42e5a commit d795ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ jobs:
261261
if [[ ${{ github.ref }} = refs/heads/release/* ]]; then
262262
scripts/check-version-is.sh "${GITHUB_REF##*release/}"
263263
elif [[ ${{ github.ref }} = refs/tags/sdk/v* ]]; then
264-
scripts/check-version-is.sh "${GITHUB_REF_NAME#v}"
264+
scripts/check-version-is.sh "${GITHUB_REF_NAME#sdk/v}"
265265
else
266266
scripts/check-version-is.sh
267267
fi

0 commit comments

Comments
 (0)