Parcourir la source

Fix ENDTOEND crash

Renée Kooi il y a 6 ans
Parent
commit
4f4722c326
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      bin/sync-version-numbers

+ 1 - 1
bin/sync-version-numbers

@@ -18,7 +18,7 @@ __file="${__dir}/$(basename "${BASH_SOURCE[0]}")"
 __base="$(basename ${__file} .sh)"
 __base="$(basename ${__file} .sh)"
 __root="$(cd "$(dirname "${__dir}")" && pwd)"
 __root="$(cd "$(dirname "${__dir}")" && pwd)"
 
 
-if [ "$ENDTOEND" = "1" ]; then
+if [ "${ENDTOEND:=0}" = "1" ]; then
   echo "Publishing for e2e tests, skipping version number sync."
   echo "Publishing for e2e tests, skipping version number sync."
   exit 0
   exit 0
 fi
 fi