Skip to content

Commit c46ad17

Browse files
committed
[ci/cd] Fix -n / -z confusion in pipelines
1 parent 57d3fe4 commit c46ad17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/scripts/shipit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ if [[ $envok != 0 ]]; then
4848
fi
4949

5050
VERSION=$(cat ${VERSION_FROM})
51-
if [[ -n "${VERSION}" ]]; then
51+
if [[ -z "${VERSION}" ]]; then
5252
echo >&2 "Version file (${VERSION_FROM}) was empty."
5353
exit 1
5454
fi

0 commit comments

Comments
 (0)