yamlfmt_0.3.0_Linux_x86_64.tar.gz does not match checksum in checksums.txt
civitaspo opened this issue · comments
Takahiro Nakayama commented
$ curl --create-dirs \
-sSL https://github.com/google/yamlfmt/releases/download/v0.3.0/yamlfmt_Linux_x86_64.tar.gz > yamlfmt_0.3.0_Linux_x86_64.tar.gz
$ curl --create-dirs \
-sSL https://github.com/google/yamlfmt/releases/download/v0.3.0/checksums.txt > checksums.txt
$ cat checksums.txt | grep Linux_x86_64.tar.gz
98b9b1accb269015549f669307741873bc76d72467ab6801be93dd37c36b51ad yamlfmt_0.3.0_Linux_x86_64.tar.gz
$ cat checksums.txt \
| grep Linux_x86_64.tar.gz \
| sha256sum -c -
yamlfmt_0.3.0_Linux_x86_64.tar.gz: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
$ sha256sum yamlfmt_0.3.0_Linux_x86_64.tar.gz
0019dfc4b32d63c1392aa264aed2253c1e0c2fb09216f8e2cc269bbfb8bb49b5 yamlfmt_0.3.0_Linux_x86_64.tar.gz
Braydon Kains commented
Thanks for making the issue!
The reason you are seeing the checksum not match is that the URL you are curling is a 404.
The URL you have: https://github.com/google/yamlfmt/releases/download/v0.3.0/yamlfmt_Linux_x86_64.tar.gz
The URL for the 0.3.0 Linux 64 bit release is:
https://github.com/google/yamlfmt/releases/download/v0.3.0/yamlfmt_0.3.0_Linux_x86_64.tar.gz
Takahiro Nakayama commented
Oh, really I'm sorry I took a mistake....
Braydon Kains commented
No problem!