diff --git a/scripts/package.sh b/scripts/package.sh index df3bddbf9..08f85f37c 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -3,7 +3,7 @@ set -e export PACT_MOCK_SERVICE_VERSION=2.0.0 # Seg faults... -export PACT_PROVIDER_VERIFIER_VERSION=0.0.13 +export PACT_PROVIDER_VERIFIER_VERSION=0.0.14 # Create the OS specific versions of the mock service and verifier echo "==> Building Ruby Binaries..." diff --git a/types/verify_request.go b/types/verify_request.go index 8f373edc5..714dd4b28 100644 --- a/types/verify_request.go +++ b/types/verify_request.go @@ -31,6 +31,9 @@ type VerifyRequest struct { // Password when authenticating to a Pact Broker. BrokerPassword string + // Verbose increases verbosity of output + Verbose bool + // Arguments to the VerificationProvider // Deprecated: This will be deleted after the native library replaces Ruby deps. Args []string @@ -74,5 +77,10 @@ func (v *VerifyRequest) Validate() error { v.Args = append(v.Args, "--broker-password") v.Args = append(v.Args, v.BrokerPassword) } + + if v.Verbose { + v.Args = append(v.Args, "--verbose") + v.Args = append(v.Args, fmt.Sprintf("%v", v.Verbose)) + } return nil }