Fix cov-analysis not being updated in CI

md5sum returns 0 for match, 1 for failure, the original was not running on failure at all
This commit is contained in:
Mark Roszko 2021-06-07 03:27:06 +00:00
parent 49c5130123
commit 92c4596252
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
--form token=$COVERITY_SCAN_TOKEN \
--form md5=1
echo " *cov-analysis-linux64.tgz" >> cov-analysis-linux64.md5
test "$(md5sum --ignore-missing -c cov-analysis-linux64.md5)" || (
(md5sum --ignore-missing -c cov-analysis-linux64.md5) || (
echo "Downloading new Coverity Scan version"
curl --output cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 \
--form project=$COVERITY_SCAN_PROJECT_NAME \