diff --git a/Makefile b/Makefile index 0a9bcc351..2f86598a8 100755 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ PACT_CLI="docker run --rm -v ${PWD}:${PWD} -e PACT_BROKER_BASE_URL=$(DOCKER_HOST PLUGIN_PACT_PROTOBUF_VERSION=0.3.15 PLUGIN_PACT_CSV_VERSION=0.0.6 PLUGIN_PACT_MATT_VERSION=0.1.1 -PLUGIN_PACT_AVRO_VERSION=0.0.6 +PLUGIN_PACT_AVRO_VERSION=0.0.8 GO_VERSION?=1.22 ci:: docker deps clean bin test pact diff --git a/examples/avro/avro_consumer_test.go b/examples/avro/avro_consumer_test.go index 8de5963d9..4136a6140 100644 --- a/examples/avro/avro_consumer_test.go +++ b/examples/avro/avro_consumer_test.go @@ -47,7 +47,7 @@ func TestAvroHTTP(t *testing.T) { UponReceiving("A request to do get some Avro stuff"). UsingPlugin(consumer.PluginConfig{ Plugin: "avro", - Version: "0.0.6", + Version: "0.0.8", }). WithRequest("GET", "/avro"). WillRespondWith(200, func(res *consumer.V4InteractionWithPluginResponseBuilder) { diff --git a/installer/installer.go b/installer/installer.go index 3822c4026..63fa9c0ef 100644 --- a/installer/installer.go +++ b/installer/installer.go @@ -347,8 +347,8 @@ func (i *Installer) checkMusl() error { return err } -// download template structure: "https://github.com/pact-foundation/pact-reference/releases/download/PACKAGE-vVERSION/LIBNAME-OS-ARCH.EXTENSION.gz" -var downloadTemplate = "https://github.com/pact-foundation/pact-reference/releases/download/%s-v%s/%s-%s-%s.%s.gz" +// download template structure: "https://github.com/you54f/pact-reference/releases/download/PACKAGE-vVERSION/LIBNAME-OS-ARCH.EXTENSION.gz" +var downloadTemplate = "https://github.com/you54f/pact-reference/releases/download/%s-v%s/%s-%s-%s.%s.gz" var supportedOSes = map[string]string{ "darwin": macos, @@ -387,7 +387,7 @@ const ( var packages = map[string]packageInfo{ FFIPackage: { libName: "libpact_ffi", - version: "0.4.22", + version: "0.4.33", semverRange: ">= 0.4.0, < 1.0.0", }, } diff --git a/installer/installer_test.go b/installer/installer_test.go index b492af492..02972903e 100644 --- a/installer/installer_test.go +++ b/installer/installer_test.go @@ -37,7 +37,7 @@ func TestInstallerDownloader(t *testing.T) { { name: "ffi lib - linux x86", pkg: FFIPackage, - want: fmt.Sprintf("https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v%s/libpact_ffi-linux-x86_64.so.gz", packages[FFIPackage].version), + want: fmt.Sprintf("https://github.com/you54f/pact-reference/releases/download/libpact_ffi-v%s/libpact_ffi-linux-x86_64.so.gz", packages[FFIPackage].version), test: Installer{ os: linux, arch: x86_64, @@ -46,7 +46,7 @@ func TestInstallerDownloader(t *testing.T) { { name: "ffi lib - macos x86", pkg: FFIPackage, - want: fmt.Sprintf("https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v%s/libpact_ffi-macos-x86_64.dylib.gz", packages[FFIPackage].version), + want: fmt.Sprintf("https://github.com/you54f/pact-reference/releases/download/libpact_ffi-v%s/libpact_ffi-macos-x86_64.dylib.gz", packages[FFIPackage].version), test: Installer{ os: macos, arch: x86_64, @@ -55,7 +55,7 @@ func TestInstallerDownloader(t *testing.T) { { name: "ffi lib - macos arm64", pkg: FFIPackage, - want: fmt.Sprintf("https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v%s/libpact_ffi-macos-aarch64.dylib.gz", packages[FFIPackage].version), + want: fmt.Sprintf("https://github.com/you54f/pact-reference/releases/download/libpact_ffi-v%s/libpact_ffi-macos-aarch64.dylib.gz", packages[FFIPackage].version), test: Installer{ os: macos, arch: aarch64, @@ -64,7 +64,7 @@ func TestInstallerDownloader(t *testing.T) { { name: "ffi lib - windows x86", pkg: FFIPackage, - want: fmt.Sprintf("https://github.com/pact-foundation/pact-reference/releases/download/libpact_ffi-v%s/pact_ffi-windows-x86_64.dll.gz", packages[FFIPackage].version), + want: fmt.Sprintf("https://github.com/you54f/pact-reference/releases/download/libpact_ffi-v%s/pact_ffi-windows-x86_64.dll.gz", packages[FFIPackage].version), test: Installer{ os: windows, arch: x86_64,