5
5
# When we update the codecov uploader version, we need to update the checksums.
6
6
# The checksum for each codecov binary is available at
7
7
# https://uploader.codecov.io e.g. for linux
8
- # https://uploader.codecov.io/v0.4.1 /linux/codecov.SHA256SUM.
8
+ # https://uploader.codecov.io/v0.4.0 /linux/codecov.SHA256SUM.
9
9
10
10
# Instead of hardcoding a specific version and signature in this script, it
11
11
# would be possible to use the "latest" symlink URL but then we need to
15
15
# However this approach would yield a larger number of downloads from
16
16
# codecov.io and keybase.io, therefore increasing the risk of running into
17
17
# network failures.
18
- CODECOV_UPLOADER_VERSION=0.4.1
18
+ CODECOV_UPLOADER_VERSION=0.4.0
19
19
CODECOV_BASE_URL=" https://uploader.codecov.io/v$CODECOV_UPLOADER_VERSION "
20
20
21
21
@@ -35,19 +35,19 @@ if [[ ! -f "$BUILD_REPOSITORY_LOCALPATH/.coverage" ]]; then
35
35
fi
36
36
if [[ $OSTYPE == * " linux" * ]]; then
37
37
curl -Os " $CODECOV_BASE_URL /linux/codecov"
38
- SHA256SUM=" 32cb14b5f3aaacd67f4c1ff55d82f037d3cd10c8e7b69c051f27391d2e66e15c codecov"
38
+ SHA256SUM=" 671cf0d89d1c149f57e1a9a31f3fb567ab4209e4d5829f13ff7b8c104db7131f codecov"
39
39
echo " $SHA256SUM " | shasum -a256 -c
40
40
chmod +x codecov
41
41
./codecov -t ${CODECOV_TOKEN} -r $BUILD_REPOSITORY_LOCALPATH -f $BUILD_REPOSITORY_LOCALPATH /.coverage -Z
42
42
elif [[ $OSTYPE == * " darwin" * ]]; then
43
43
curl -Os " $CODECOV_BASE_URL /macos/codecov"
44
- SHA256SUM=" 4ab0f06f06e9c4d25464f155b0aff36bfc1e8dbcdb19bfffd586beed1269f3af codecov"
44
+ SHA256SUM=" 7549819f0fe115e113ec3538e259d748e87d84f68afa5deadc798967ec716b8d codecov"
45
45
echo " $SHA256SUM " | shasum -a256 -c
46
46
chmod +x codecov
47
47
./codecov -t ${CODECOV_TOKEN} -r $BUILD_REPOSITORY_LOCALPATH -f $BUILD_REPOSITORY_LOCALPATH /.coverage -Z
48
48
else
49
49
curl -Os " $CODECOV_BASE_URL /windows/codecov.exe"
50
- SHA256SUM=" e0cda212aeaebe695509ce8fa2d608760ff70bc932003f544f1ad368ac5450a8 codecov.exe"
50
+ SHA256SUM=" 15fb34be4eb9949ad4e964a0e21c4efc79657de05b2c799e041d7293dccf60eb codecov.exe"
51
51
echo " $SHA256SUM " | sha256sum -c
52
52
./codecov.exe -t ${CODECOV_TOKEN} -r $BUILD_REPOSITORY_LOCALPATH -f $BUILD_REPOSITORY_LOCALPATH /.coverage -Z
53
53
fi
0 commit comments