diff --git a/is-clean.sh b/is-clean.sh index b63b54f46..4bcf4bd7d 100755 --- a/is-clean.sh +++ b/is-clean.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +[[ -n "${FORCE_RELEASE}" ]] && exit 0 + set -e if [ -n "$(git status --porcelain)" ]; then diff --git a/test.sh b/test.sh index 4d2eca141..e0ef0b657 100755 --- a/test.sh +++ b/test.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +[[ -n "${FORCE_RELEASE}" ]] && exit 0 + set -e [ "${FLOCKER}" != "$0" ] && exec env FLOCKER="$0" flock -en .stack-work.lock "$0" "$@" || :