diff --git a/entrypoint.sh b/entrypoint.sh index 7fe97cd3..2b845bcf 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -52,7 +52,8 @@ if [[ ${INPUT_CHECK_ONLY} == true ]]; then command+=" --check-only" fi -output=$( eval "$command" | tee /dev/fd/3) +output=$(eval "$command" 2>&1 > >(tee /dev/fd/3)) + commit=$(echo "$output" | grep "Commit Hash:" | sed 's/.*: //')