diff --git a/install.sh b/install.sh index 89db754..b7a4c63 100755 --- a/install.sh +++ b/install.sh @@ -1,15 +1,14 @@ #!/usr/bin/env bash -CI=${GITHUB_ACTIONS:-} - [[ -n "${DEBUG}" ]] && set -x set -euo pipefail shopt -s nullglob globstar -[[ -z ${CI} ]] && echo "Will only run in Github Actions" && exit 1 - +CI=${GITHUB_ACTIONS:-} VERSION=${version:-} +[[ -z ${CI} ]] && echo "Will only run in Github Actions" && exit 1 + DOWNLOAD="false" # Check if hadolint is installed and compare versions to decide # if we should download a new version