Skip to content

Commit

Permalink
chore: updates eval line in entrypoint to fix exit codes
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Jul 5, 2023
1 parent 68af44b commit 7ca89d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/.*: //')

Expand Down

0 comments on commit 7ca89d5

Please sign in to comment.