petergtz / pegomock

Pegomock is a powerful, yet simple mocking framework for the Go programming language
Apache License 2.0
252 stars 28 forks source link

binary checksums don't seem to match? #85

Closed MrCreosote closed 5 years ago

MrCreosote commented 5 years ago

Hi, I feel like I must be doing something stupid, but when I download the release assets the checksums don't seem to match:

~/go/bin$ wget https://github.com/petergtz/pegomock/releases/download/v2.2.0/pegomock_2.2.0_linux_x86_64
~/go/bin$ wget https://github.com/petergtz/pegomock/releases/download/v2.1.0/pegomock_2.1.0_linux_x86_64
~/go/bin$ wget https://github.com/petergtz/pegomock/releases/download/v2.0.3/pegomock_2.0.3_linux_x86_64
~/go/bin$ wget https://github.com/petergtz/pegomock/releases/download/v2.0.1/pegomock_2.0.1_linux_x86_64
~/go/bin$ md5sum pegomock_2.*
9668a350fe94f7c1e528d7844b247446  pegomock_2.0.1_linux_x86_64
bc81b65698fcb2cea8b2d57354c83aaf  pegomock_2.0.3_linux_x86_64
0c009f71a983c0c4114650d1185db7b6  pegomock_2.1.0_linux_x86_64
22134a51ee17b4df2e0aa6fc939d3801  pegomock_2.2.0_linux_x86_64

~/go/bin$ curl -sL  https://github.com/petergtz/pegomock/releases/download/v2.2.0/checksums.txt | grep linux
4035cbf10e4f8f9bd3c4af2c2526ca556fdee170a173724937a29b79584b6d28  pegomock_2.2.0_linux_x86_64
~/go/bin$ curl -sL  https://github.com/petergtz/pegomock/releases/download/v2.1.0/checksums.txt | grep linux
622b8245b4aa200485443654a35834e7866257bbf96400c5415802cc6bd93993  pegomock_2.1.0_linux_x86_64
~/go/bin$ curl -sL  https://github.com/petergtz/pegomock/releases/download/v2.0.3/checksums.txt | grep linux
21df9212a7dffa3acefa4aa2307fc10a87f0dfdca790ce0ea6862eca9b8648f4  pegomock_2.0.3_linux_x86_64
~/go/bin$ curl -sL  https://github.com/petergtz/pegomock/releases/download/v2.0.1/checksums.txt | grep linux
0b73696e95d0be6b293f2950046a5ca39b64b67b69fb362d788fdb6cbd886996  pegomock_2.0.1_linux_x86_64
petergtz commented 5 years ago

Hi @MrCreosote,

These are sha256 checksums. Try

~/go/bin$ shasum -a 256 pegomock_2.*

Does that resolve your issue?

MrCreosote commented 5 years ago

Confirmed I'm doing something stupid. Didn't even notice the lengths were off, urg. Thanks and apologies for the noise.