Skip to content

Commit 6b673a1

Browse files
committed
CI: fix off-by-bool error in script
1 parent 4a8c1f2 commit 6b673a1

File tree

1 file changed

+1
-1
lines changed
  • ci/tasks/collect-gcp-image

1 file changed

+1
-1
lines changed

ci/tasks/collect-gcp-image/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gcloud config set project "${PROJECT_ID}"
1010

1111
set -x
1212

13-
if [[ "${BASE_OS}" =~ windows[0-9]{4} ]]; then
13+
if [[ ! "${BASE_OS}" =~ windows[0-9]{4} ]]; then
1414
echo "Define BASE_OS environment variable (ex: windows2135)" 1>&2
1515
exit 1
1616
fi

0 commit comments

Comments
 (0)