script/publish-pact.sh in pact_broker-client-1.70.0 vs script/publish-pact.sh in pact_broker-client-1.71.0

- old
+ new

@@ -1,20 +1,20 @@ -export PACT_BROKER_BASE_URL="http://localhost:9292" -export PACT_BROKER_TOKEN="localhost" +export PACT_BROKER_BASE_URL=${PACT_BROKER_BASE_URL:-"http://localhost:9292"} +export PACT_BROKER_TOKEN=${PACT_BROKER_TOKEN:-"localhost"} #export PACT_BROKER_FEATURES=publish_pacts_using_old_api # bundle exec bin/pact-broker create-or-update-webhook http://localhost:9393 \ # --uuid d40f38c3-aaa3-47f5-9161-95c07bc16b14 \ # --request POST \ # --description "foo webhook" \ # --contract-published -bundle exec bin/pact-broker create-or-update-webhook http://localhost:9393 \ - --uuid d40f38c3-aaa3-47f5-9161-95csfadfsd7 \ - --description "This is quite a long description for a webhook that I hope will be truncated" \ - --request POST \ - --contract-published +# bundle exec bin/pact-broker create-or-update-webhook http://localhost:9393 \ +# --uuid d40f38c3-aaa3-47f5-9161-95csfadfsd7 \ +# --description "This is quite a long description for a webhook that I hope will be truncated" \ +# --request POST \ +# --contract-published # bundle exec bin/pact-broker publish spec/pacts/pact_broker_client-pact_broker.json spec/fixtures/foo-bar.json \ # --consumer-app-version 1.2.12 \ # --broker-base-url http://localhost:9292 \ # --broker-username localhost --broker-password localhost \ @@ -27,13 +27,11 @@ # --provider Bar \ # --request POST \ # --contract-published -bundle exec bin/pact-broker publish spec/pacts/pact_broker_client-pact_broker.json \ +bundle exec bin/pact-broker publish scripts/foo-bar.json \ --consumer-app-version 1.2.26 \ - --broker-base-url http://localhost:9292 \ - --broker-token localhost \ --auto-detect-version-properties \ --build-url http://mybuild \ --branch master --tag foo5 --tag foo6