aptible / supercronic

Cron for containers
MIT License
1.91k stars 115 forks source link

v0.2.28 SHA1 sum in release notes doesn't match for supercronic-linux-amd64 #143

Closed mmguero closed 11 months ago

mmguero commented 11 months ago

The releases says the sha sum for supercronic-linux-amd64 is c646d115c152545765b7eea0f5c3591849f6d7c6, but when I download the artifact from GitHub it's fe1a81a8a5809deebebbd7a209a3b97e542e2bcd.

$ export SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.28/supercronic-linux-amd64
$ export SUPERCRONIC=supercronic-linux-amd64
$ export SUPERCRONIC_SHA1SUM=c646d115c152545765b7eea0f5c3591849f6d7c6

$ curl -fsSLO "$SUPERCRONIC_URL" \
 && echo "${SUPERCRONIC_SHA1SUM}  ${SUPERCRONIC}" | sha1sum -c - \
 && chmod +x "$SUPERCRONIC" \
 && mv "$SUPERCRONIC" "/usr/local/bin/${SUPERCRONIC}" \
 && ln -s "/usr/local/bin/${SUPERCRONIC}" /usr/local/bin/supercronic
supercronic-linux-amd64: FAILED
sha1sum: WARNING: 1 computed checksum did NOT match

$ sha1sum supercronic-linux-amd64 
fe1a81a8a5809deebebbd7a209a3b97e542e2bcd  supercronic-linux-amd64
aaw commented 11 months ago

Sorry for the confusion, I updated the SHA1s with hashes from my local build, which don't match the SHA1s from the official Github actions build. Should be updated now on the v0.2.28 release instructions.