swift icon indicating copy to clipboard operation
swift copied to clipboard

ChecksumMismatchError: SHA256 mismatch while downloading danger-js/releases/download/9.2.10

Open sayaleepote opened this issue 4 years ago • 1 comments

Installing danger-swift from danger/tap ==> Installing dependencies for danger/tap/danger-swift: danger/tap/danger-js ==> Installing danger/tap/danger-swift dependency: danger/tap/danger-js Downloading https://github.com/danger/danger-js/releases/download/9.2.10/dan Already downloaded: /Users/xxx/Library/Caches/Homebrew/downloads/9a228f1e3586bba7ed280a25387fd4bd5ec2578b21d912a86122feb89229b257--danger-macos.zip Error: An exception occurred within a child process: ChecksumMismatchError: SHA256 mismatch Expected: 42a22faa300d23894f03a980c54a40c0435355017b2eeba1c6080177d49bd175 Actual: 45dc661f42054fc82d9156a07c66b76089b84e5436933e8ae7fbf71286ee9a2d

sayaleepote avatar Apr 15 '20 09:04 sayaleepote

This is really odd :O I've just launched brew install danger/tap/danger-swift

==> Installing danger-swift from danger/tap
Warning: Your Xcode (11.3.1) is outdated.
Please update to Xcode 11.4 (or delete it).
Xcode can be updated from the App Store.

==> Installing dependencies for danger/tap/danger-swift: danger/tap/danger-js
==> Installing danger/tap/danger-swift dependency: danger/tap/danger-js
Warning: Your Xcode (11.3.1) is outdated.
Please update to Xcode 11.4 (or delete it).
Xcode can be updated from the App Store.

==> Downloading https://github.com/danger/danger-js/releases/download/9.2.10/dan
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws
######################################################################## 100.0%
🍺  /usr/local/Cellar/danger-js/9.2.10: 3 files, 83.0MB, built in 6 seconds
==> Installing danger/tap/danger-swift
==> Downloading https://github.com/danger/danger-swift/archive/3.3.0.tar.gz
==> Downloading from https://codeload.github.com/danger/swift/tar.gz/3.3.0
######################################################################## 100.0%
==> make install PREFIX=/usr/local/Cellar/danger-swift/3.3.0

I've also checked the shasum of https://github.com/danger/danger-js/releases/download/9.2.10/danger-macos.zip (that is what brew is pointing)

shasum -a 256 "danger-macos.zip" | head -n1 | cut -d " " -f1 
42a22faa300d23894f03a980c54a40c0435355017b2eeba1c6080177d49bd175

f-meloni avatar Apr 15 '20 21:04 f-meloni