You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2021/04/27 11:46:35 UTC

[skywalking] branch master updated: Exit when failed to validate the shasum (#6852)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/master by this push:
     new 09cbfe2  Exit when failed to validate the shasum (#6852)
09cbfe2 is described below

commit 09cbfe27394600a4ba174deb8338d37e93074119
Author: Zhenxu Ke <ke...@apache.org>
AuthorDate: Tue Apr 27 19:46:10 2021 +0800

    Exit when failed to validate the shasum (#6852)
---
 tools/coverage/report.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/coverage/report.sh b/tools/coverage/report.sh
index fe4c5ae..5140fbd 100755
--- a/tools/coverage/report.sh
+++ b/tools/coverage/report.sh
@@ -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