Reputation: 1808
I am looking to get the MD5 hash for a tar.gz GitHub release from here: https://github.com/jbeder/yaml-cpp/releases
Would like to use it in my CMake. Does anyone know where I can get it? I could not find much of a solution through Google.
Upvotes: 24
Views: 28706
Reputation: 126457
As VertigoRay suggests in his answer, I emailed GitHub at [email protected].
Subject: Suggestion: Show the checksum of each release
For example, I want to download a release from https://github.com/vim/vim/releases.
Shouldn't there be a sha256 checksum displayed next to each release?
They replied within 40 minutes thanking me for my feedback and informing me that they had added my +1 to their internal Feature Request List.
Feel free to send GitHub my email if you'd also like to add your +1.
Upvotes: 16
Reputation: 6273
If GitHub wanted to provide this information, I would expect it to be provided in the API. The GitHub API doesn't currently provide this information. If they did, I would expect it to be here: https://api.github.com/repos/jbeder/yaml-cpp/releases/latest
More info: https://developer.github.com/v3/repos/releases/#list-assets-for-a-release
If you'd like the feature added, you could get in contact with @github. You could send them an email.
Upvotes: 16