Skip to content

Commit fcf38bc

Browse files
committed
feat(deps): update pact-broker-cli to 0.2.0
1 parent 079fd79 commit fcf38bc

5 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/reusable-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
}
4040
print
4141
}' Cargo.toml > Cargo.toml.tmp && rm Cargo.toml && mv Cargo.toml.tmp Cargo.toml
42+
cargo update pact
4243
- name: "Write changelog"
4344
if: ${{ inputs.force_release == true || startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main' }}
4445
run: echo "${{ inputs.release_notes }}" > CHANGELOG.md

Cargo.lock

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ include = [
2424

2525
clap = { version = "4.5.2", features = ["derive", "env", "cargo"] }
2626
clap_complete = { version = "4.5.1", features = [] }
27-
tokio = { version = "1.35.1", features = [] }
28-
2927
home = "0.5.5"
3028

3129
# tracing = "0.1.40"
@@ -44,7 +42,7 @@ pact-stub-server = { version = "*", git = "https://github.com/YOU54F/pact-stub-s
4442
pact_mock_server_cli = { version = "2.0.0-beta.1", git = "https://github.com/YOU54F/pact-core-mock-server.git", branch = "feat/cli_as_lib"}
4543
pact-plugin-cli = { version = "*", git = "https://github.com/pact-foundation/pact-plugins", branch = "feat/cli_as_lib"}
4644
pact_verifier_cli = { version = "*", git = "https://github.com/YOU54F/pact-reference", branch = "feat/cli_as_lib"}
47-
pact-broker-cli = { version = "0.1.0" }
45+
pact-broker-cli = { version = "0.2.0" }
4846

4947
[dev-dependencies]
5048
trycmd = "0.15.0"

run.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ foreach ($uuid in $uuids) {
7373
}
7474

7575
& $BIN 'pact-broker' create-environment --name production --production
76-
& $BIN 'pact-broker' publish --dir tests/pacts -r
77-
& $BIN 'pact-broker' publish --dir tests/pacts -a foo --branch bar
76+
& $BIN 'pact-broker' publish tests/pacts -r
77+
& $BIN 'pact-broker' publish tests/pacts -a foo --branch bar
7878
try {
7979
& $BIN 'pact-broker' can-i-deploy --pacticipant GettingStartedOrderWeb --version foo --to prod
8080
} catch {

run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ ${BIN} pact-broker update-environment --uuid $ENV_UUID --name name_foo9 --contac
5353
${BIN} pact-broker delete-environment --uuid $ENV_UUID
5454
${BIN} pact-broker list-environments | awk -F '' '{print $2}' | sed -n '3,$p' | sed '$d' | awk '{print $1}' | xargs -I {} ${BIN} pact-broker delete-environment --uuid {}
5555
${BIN} pact-broker create-environment --name production --production
56-
${BIN} pact-broker publish --dir tests/pacts -r
57-
${BIN} pact-broker publish --dir tests/pacts -a foo --branch bar
56+
${BIN} pact-broker publish tests/pacts -r
57+
${BIN} pact-broker publish tests/pacts -a foo --branch bar
5858
${BIN} pact-broker can-i-deploy --pacticipant GettingStartedOrderWeb --version foo --to prod || echo "can-i-deploy fails due to no verification result - expected"
5959
${BIN} pact-broker can-i-deploy --pacticipant GettingStartedOrderWeb --version foo --to prod --dry-run
6060
${BIN} pact-broker record-deployment --version foo --environment production --pacticipant GettingStartedOrderWeb

0 commit comments

Comments
 (0)