hi guys, I want to use pact cli docker in gitlub p...
# pact-broker
p
hi guys, I want to use pact cli docker in gitlub pipeline and I’m a little bit confused that there are 2 publish commands:
Copy code
pact broker publish PACT_DIRS_OR_FILES ... -a, --consumer-app-version=CONSUMER_APP_VERSION -b, --broker-base-url=BROKER_BASE_URL
and
Copy code
pact publish PACT_DIRS_OR_FILES ...  # Publish pacts to a Pact Broker.
are there any differences? which one should be used to publish consumer contract to pact broker?
b
I'm not sure why there are two, but they will point to the same underlying code.
I'll have a look at the duplication when I get a chance.
thank you 1
👍 1