I have the following Codecov script (which works fine) but i'm trying to add a CHECKSUM check to the script line.
given the script:
bash <(curl https://codecov.io/bash) -s './CodeCoverageResults/' -f '*.xml' -Z -t <redacted>
I wish to now add the checksum check which they suggested in their docs:
curl https://codecov.io/bash | shasum -a 512 codecov
// Codecov provides SHA1, SHA256, and SHA512 hashes
So i'm not sure how to do this.
I tried:
bash <(curl https://codecov.io/bash | shasum -a 512 codecov) -s './CodeCover.....
and that didn't work.
Any suggestions?
Tom from Codecov here. This was an error in our docs and it should read
Apologies for the inconvenience, and I've updated the docs.