Closed haavardw closed 7 years ago
Thanks, will take a look this morning!
OK I see the problem - you're downloading the binary not the distribution (tar.gz
). This is probably not your fault given that we are publishing both. I'm going mark a fix here to remove.
This should do it for you:
mkdir new-bin && cd new-bin && curl -OL https://github.com/pact-foundation/pact-go/releases/download/v0.0.9/linux-amd64.tar.gz && tar -xvvf linux-amd64.tar.gz && mv pact-go_linux_amd64 pact-go && ./pact-go daemon -v -l DEBUG
Also, I will update the installation notes to add the -d
flag so that any go binaries don't take precedence over the downloaded distribution.
I've removed the binaries from the releases page, they aren't useful on their own.
I have also updated the Wercker release step, it should now only upload the zipped artifacts to GitHub. See https://app.wercker.com/Pact-Foundation/pact-go/runs/build/598b8aac3b92d900016ba9fe?step=598b8ad29199080001c5da65
:+1: Works for me! Thanks.
Software versions
Expected behaviour
Working consumer and mux provider examples
Actual behaviour
Output from downloading and running
go-pact daemon
:Output from the consumer example:
Same issue downloading v0.0.8 and v0.0.9 and the plan
pact-go
binary (non-_linux_amd64
)Mux example: