Skip to content

Commit 9c0bef9

Browse files
committed
ci: Fix release version check
The git tag are vX.Y.Z and the VERSION file is just X.Y.Z so need to deal with the `v` in the check. Signed-off-by: Kumar Gala <[email protected]>
1 parent 1a784d7 commit 9c0bef9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ steps:
99

1010
- >
1111
if [ -n "${BUILDKITE_TAG}" ]; then
12-
if [ "${BUILDKITE_TAG}" != $${release} ]; then
12+
if [ "${BUILDKITE_TAG}" != v"$${release}" ]; then
1313
echo "Need to fix VERSION file. Tag ${BUILDKITE_TAG} doesn't match $${release}"
1414
exit 1
1515
fi

0 commit comments

Comments
 (0)