Exit when failed to validate the shasum (#6852)
This commit is contained in:
parent
a0dd4d5f44
commit
09cbfe2739
|
|
@ -47,7 +47,7 @@ VERSION=$(grep -o 'VERSION=\"[0-9\.]*\"' codecov | cut -d'"' -f2)
|
|||
for i in 1 256 512
|
||||
do
|
||||
shasum -a $i -c --ignore-missing <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM") ||
|
||||
shasum -a $i -c <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM")
|
||||
shasum -a $i -c <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM") || exit 0
|
||||
done
|
||||
|
||||
bash codecov -X fix -f /tmp/report-*.xml || true
|
||||
|
|
|
|||
Loading…
Reference in New Issue