json
05/06/2022, 9:11 PMpact-publish --help
returns:
ERROR: The `pact-publish` command has been moved to `pact-broker publish`. We apologise for any inconvenience caused.
but pact-broker publish --help
now returns:
/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.61.0/lib/pact_broker/client/cli/broker.rb:8:in `require': /pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.61.0/lib/pact_broker/client/cli/version_commands.rb:51: syntax error, unexpected '.' (SyntaxError)
branch_name: options.branch&.strip,
^
/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.61.0/lib/pact_broker/client/cli/version_commands.rb:52: syntax error, unexpected '.'
tags: options.tag&.collect(&:strip)
^
/pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.61.0/lib/pact_broker/client/cli/version_commands.rb:53: syntax error, unexpected '}', expecting keyword_end
from /pact/lib/vendor/ruby/2.2.0/gems/pact_broker-client-1.61.0/lib/pact_broker/client/cli/broker.rb:8:in `<top (required)>'
from /pact/lib/app/pact-broker.rb:1:in `require'
from /pact/lib/app/pact-broker.rb:1:in `<main>'
So it seems to me like maybe this standalone cli is not maintained or something? Can anyone suggest an alternative?Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
json
05/09/2022, 2:08 PMjson
05/09/2022, 2:09 PMpact-broker publish
command doesn't look right because it seems to expect you to upload a new contract when you call it.Yousaf Nabi (pactflow.io)
json
05/09/2022, 3:22 PMYousaf Nabi (pactflow.io)