diff --git a/build/download-native-libs.sh b/build/download-native-libs.sh index 0a73211b..f09c28c6 100755 --- a/build/download-native-libs.sh +++ b/build/download-native-libs.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -euo pipefail -FFI_VERSION="0.4.5" +FFI_VERSION="0.4.16" FFI_BASE_URL="https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v$FFI_VERSION" GREEN="\e[32m" @@ -42,10 +42,10 @@ download_native() { if [[ "$OSTYPE" == "darwin"* ]]; then # OSX requires an empty arg passed to -i, but this doesn't work on Lin/Win - sed -Ei '' "s|../target/artifacts/.+$|$path/$dest_file|" "$path/$dest_file.sha256" + sed -Ei '' "s|../release_artifacts/.+$|$path/$dest_file|" "$path/$dest_file.sha256" shasum -a 256 --check --quiet "$path/$dest_file.sha256" else - sed -Ei "s|../target/artifacts/.+$|$path/$dest_file|" "$path/$dest_file.sha256" + sed -Ei "s|../release_artifacts/.+$|$path/$dest_file|" "$path/$dest_file.sha256" sha256sum --check --quiet "$path/$dest_file.sha256" fi diff --git a/samples/OrdersApi/Consumer.Tests/pacts/Fulfilment API-Orders API.json b/samples/OrdersApi/Consumer.Tests/pacts/Fulfilment API-Orders API.json index 9441aa04..50b68e5d 100644 --- a/samples/OrdersApi/Consumer.Tests/pacts/Fulfilment API-Orders API.json +++ b/samples/OrdersApi/Consumer.Tests/pacts/Fulfilment API-Orders API.json @@ -158,8 +158,8 @@ ], "metadata": { "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "4.0" diff --git a/tests/PactNet.Tests/data/v2-consumer-integration.json b/tests/PactNet.Tests/data/v2-consumer-integration.json index 9c268d98..9f76184a 100644 --- a/tests/PactNet.Tests/data/v2-consumer-integration.json +++ b/tests/PactNet.Tests/data/v2-consumer-integration.json @@ -74,8 +74,8 @@ ], "metadata": { "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "2.0.0" diff --git a/tests/PactNet.Tests/data/v3-consumer-integration.json b/tests/PactNet.Tests/data/v3-consumer-integration.json index 3ccfcb24..fa2df241 100644 --- a/tests/PactNet.Tests/data/v3-consumer-integration.json +++ b/tests/PactNet.Tests/data/v3-consumer-integration.json @@ -132,8 +132,8 @@ ], "metadata": { "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "3.0.0" diff --git a/tests/PactNet.Tests/data/v3-message-consumer-integration.json b/tests/PactNet.Tests/data/v3-message-consumer-integration.json index 3d8dd1cf..0c02ff57 100644 --- a/tests/PactNet.Tests/data/v3-message-consumer-integration.json +++ b/tests/PactNet.Tests/data/v3-message-consumer-integration.json @@ -36,8 +36,8 @@ "language": "C#" }, "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "3.0.0" diff --git a/tests/PactNet.Tests/data/v3-message-integration.json b/tests/PactNet.Tests/data/v3-message-integration.json index 0b383240..85ba4363 100644 --- a/tests/PactNet.Tests/data/v3-message-integration.json +++ b/tests/PactNet.Tests/data/v3-message-integration.json @@ -16,8 +16,8 @@ ], "metadata": { "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "3.0.0" diff --git a/tests/PactNet.Tests/data/v3-server-integration.json b/tests/PactNet.Tests/data/v3-server-integration.json index d41eed03..c9b869c0 100644 --- a/tests/PactNet.Tests/data/v3-server-integration.json +++ b/tests/PactNet.Tests/data/v3-server-integration.json @@ -46,8 +46,8 @@ ], "metadata": { "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "3.0.0" diff --git a/tests/PactNet.Tests/data/v4-combined-integration.json b/tests/PactNet.Tests/data/v4-combined-integration.json index f1d90fbd..d42e3ff5 100644 --- a/tests/PactNet.Tests/data/v4-combined-integration.json +++ b/tests/PactNet.Tests/data/v4-combined-integration.json @@ -187,8 +187,8 @@ "language": "C#" }, "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "4.0" diff --git a/tests/PactNet.Tests/data/v4-consumer-integration.json b/tests/PactNet.Tests/data/v4-consumer-integration.json index 0f3df639..11d15825 100644 --- a/tests/PactNet.Tests/data/v4-consumer-integration.json +++ b/tests/PactNet.Tests/data/v4-consumer-integration.json @@ -152,8 +152,8 @@ ], "metadata": { "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "4.0" diff --git a/tests/PactNet.Tests/data/v4-message-consumer-integration.json b/tests/PactNet.Tests/data/v4-message-consumer-integration.json index ed964433..f5124e0e 100644 --- a/tests/PactNet.Tests/data/v4-message-consumer-integration.json +++ b/tests/PactNet.Tests/data/v4-message-consumer-integration.json @@ -41,8 +41,8 @@ "language": "C#" }, "pactRust": { - "ffi": "0.4.5", - "models": "1.1.2" + "ffi": "0.4.16", + "models": "1.1.19" }, "pactSpecification": { "version": "4.0"