codecov / codecov-bash

Global coverage report uploader for Codecov
https://codecov.io
Apache License 2.0
234 stars 155 forks source link

Issue with codecov checksum #449

Closed ouranos closed 3 years ago

ouranos commented 3 years ago

We're using the following snippet to verify the codecov bash uploader:

curl -s https://codecov.io/bash > codecov
VERSION=$(grep -o 'VERSION=\"[0-9\.]*\"' codecov | cut -d'"' -f2)
for i in 1 256 512
do
  "sha${i}sum" -c <(curl -s "https://raw.githubusercontent.com/codecov/codecov-bash/${VERSION}/SHA${i}SUM" | grep codecov)
done

It stopped working this morning and is now blocking our CI/CD pipeline, it might be due to the hotfix mentioned in #448?

The version downloaded is 1.0.3.

I have the following checksum:

$ sha1sum codecov
ae30de7e8b98fb5f0cddce64771c53c3613a8ae2  codecov
$ sha256sum codecov
af719f83d08be837ebeba214729e5b76dbe0b1d073de1efc4e2cd5d73c8da7c2  codecov
$ sha512 codecov
4de731fb90c196025daca480182adc080bb53ae24a5e634734810887515377ce33ed9b7ef4729013aa33fc7c6bbce76c8d248d1bd6e894be24368111cee6ee56  codecov
ouranos commented 3 years ago

I just realised this is a duplicate of #446.