pivotal-legacy / homebrew-tap

33 stars 49 forks source link

fix SHA1 for CLI v6.11.2 #41

Closed afeld closed 9 years ago

afeld commented 9 years ago
$ brew update
$ brew upgrade cloudfoundry-cli
==> Upgrading 1 outdated package, with result:
cloudfoundry-cli 6.11.2
==> Upgrading cloudfoundry-cli
==> Downloading https://cli.run.pivotal.io/stable?release=macosx64-binary&version=6.11.2&source
Already downloaded: /Library/Caches/Homebrew/cloudfoundry-cli-6.11.2.2&source=homebrew
Error: SHA1 mismatch
Expected: f4bd3687d9fd0f803cb574ecfe9bcd22f3c872d0
Actual: ec8c6bc1585d620fdf6c42f59acec5368bc3e4b9
Archive: /Library/Caches/Homebrew/cloudfoundry-cli-6.11.2.2&source=homebrew
To retry an incomplete download, remove the file above.

Verified:

$ wget https://cli.run.pivotal.io/stable\?release\=macosx64-binary\&version\=6.11.2\&source\=homebrew -O cloudfoundry-cli-6.11.2
...
$ openssl sha1 cloudfoundry-cli-6.11.2
SHA1(cloudfoundry-cli-6.11.2)= ec8c6bc1585d620fdf6c42f59acec5368bc3e4b9
nebhale commented 9 years ago

@simonleung8 Is there something going on under that dynamic link? This is the second release in a row that I've checked the PR manually and the SHAs matched. But shortly thereafter, the SHAs changed requiring a change here. Are you guys doing quiet updates the binaries after the fact?

jghiloni commented 9 years ago

Seems like the problem is they increased the stable release to 6.11.2.2

nebhale commented 9 years ago

@jghiloni Thanks for the pointer, I'm going to engage with them internally now and get this sorted out.