Skip to content

Commit

Permalink
chore: add note about using Pact CLI to publish pact files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen committed Aug 23, 2020
1 parent 7a4bd3b commit 9c592ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions provider/gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,8 @@ pact {

# Publishing pact files to a pact broker

**NOTE**: There is a pact CLI that can be used to publish pacts. See https://github.com/pact-foundation/pact-ruby-cli.

The pact gradle plugin provides a `pactPublish` task that can publish all pact files in a directory
to a pact broker. To use it, you need to add a publish configuration to the pact configuration that defines the
directory where the pact files are and the URL to the pact broker.
Expand Down
2 changes: 2 additions & 0 deletions provider/maven/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,8 @@ By default, the test classpath is scanned for annotated methods. You can overrid

# Publishing pact files to a pact broker

**NOTE**: There is a pact CLI that can be used to publish pacts. See https://github.com/pact-foundation/pact-ruby-cli.

The pact maven plugin provides a `publish` mojo that can publish all pact files in a directory
to a pact broker. To use it, you need to add a publish configuration to the POM that defines the
directory where the pact files are and the URL to the pact broker.
Expand Down

0 comments on commit 9c592ff

Please sign in to comment.