diff --git a/scripts/update_validator_version.sh b/scripts/update_validator_version.sh index 6bfc322e46..759ab49f8e 100755 --- a/scripts/update_validator_version.sh +++ b/scripts/update_validator_version.sh @@ -19,7 +19,7 @@ echo "CURRENT_VALIDATOR_VERSION=$CURRENT_VALIDATOR_VERSION" echo "NEW_VALIDATOR_VERSION=$NEW_VALIDATOR_VERSION" echo "HAS_VALIDATOR_CHANGED=$HAS_VALIDATOR_CHANGED" -if [ ! -z $GITHUB_ACTIONS ]; then +if [ -n "$GITHUB_ACTIONS" ]; then echo "Running in github actions so saving vars" { echo "CURRENT_VALIDATOR_VERSION=$CURRENT_VALIDATOR_VERSION"