Skip to content

Commit

Permalink
Update UPGRADE9.0.md about deleting old pacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tienvx committed Mar 18, 2023
1 parent 01aba55 commit db57b54
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions UPGRADE-9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,14 @@ UPGRADE FROM 8.x to 9.0
$this->assertTrue($verifier->verify());
```

* Publish pacts
* Pact Broker CLI has been removed.
* PHPUnit's listener has been removed.
* Pact files now can only be uploaded to Pact Broker by downloading and running Pact CLI manually.
* Consumer
* Pact file write mode has been changed from 'overwrite' to 'merge'. Make sure old pact files are removed before running tests.

```shell
rm /path/to/pacts/*.json
```

* Pact files now can ONLY be uploaded to Pact Broker by downloading and running Pact CLI manually.

```shell
pact-broker publish /path/to/pacts/*.json --consumer-app-version 1.0.0 --branch main --broker-base-url https://test.pactflow.io --broker-token SomeToken
Expand Down

0 comments on commit db57b54

Please sign in to comment.