pact-foundation / pact-ruby-standalone

A standalone pact command line executable using the ruby pact implementation and Travelling Ruby
https://pact.io
MIT License
42 stars 33 forks source link

pact-1.82.1-linux-x86_64.tar.gz Checksum seems to be broken. #49

Closed ChristianKis closed 4 years ago

ChristianKis commented 4 years ago

Pre issue-raising checklist

I have already (please mark the applicable with an x):

Software versions

Expected behaviour

In-house CI installs pact and uses locally saved resource for postinstall script.

Actual behaviour

Build fails with message: Error while installing binary: Postinstalled Failed Unexpectedly: Error: Error while installing binary: Extraction failed for /node_modules/@pact-foundation/pact-node/standalone/pact-1.82.1-linux-x86_64.tar.gz: Error: Error while installing binary: Checksum rejected for file 'pact-1.82.1-linux-x86_64.tar.gz' with checksum pact-1.82.1-linux-x86_64.tar.gz.checksum

Steps to reproduce

I've edited package json to { "pact_binary_location": "MYPATH" }

and downloaded the artifacts from: https://github.com/pact-foundation/pact-ruby-standalone/releases/tag/v1.82.1


Am I missing something? Or the checksum in this artifact is broken?

Thanks for your help.

bethesque commented 4 years ago

Maybe it is! Try 1.82.2

bethesque commented 4 years ago

Updating it https://github.com/pact-foundation/pact-node/pull/220

ChristianKis commented 4 years ago

Thanks, works now, although I'm still using 1.82.1. Strange, maybe the issue was on my side in my npm cache.