remove -e

This commit is contained in:
Richard van der Hoff 2022-03-08 16:20:56 +00:00
parent 7895705f61
commit b21d7bc5f1

View file

@ -7,7 +7,6 @@ pr="$PULL_REQUEST_NUMBER"
echo -e "+++ \033[32mChecking newsfragments for PR #$pr\033[m" echo -e "+++ \033[32mChecking newsfragments for PR #$pr\033[m"
set -e
failed=0 failed=0
matched=0 matched=0
@ -29,7 +28,6 @@ find changelogs -regex '.*/[0-9]+\.[^/]+$' | while read f; do
fi fi
done done
if [[ -n "$pr" && "$matched" -eq 0 ]]; then if [[ -n "$pr" && "$matched" -eq 0 ]]; then
echo -e "\e[31mERROR: Did not find a news fragment with the right number: expected changelogs/*/newsfragments/$pr.*\e[39m" >&2 echo -e "\e[31mERROR: Did not find a news fragment with the right number: expected changelogs/*/newsfragments/$pr.*\e[39m" >&2
failed=1 failed=1