From 648d3f916e650f69ac12d1639321281d070beb37 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Thu, 16 Oct 2025 05:27:32 +0200 Subject: [PATCH] Update version --- Makefile | 13 ++++--------- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 837df51..f09cec3 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,7 @@ endif # Configuration for fetching the right binary OS ?= "linux" ARCH ?= "amd64" -VERSION ?= "v0.0.17" -DOWNLOAD_URL ?= "https://github.com/codex-storage/codex-go-bindings/releases/latest/download/codex-${OS}-${ARCH}.zip" - -ifneq ($(VERSION),) - DOWNLOAD_URL := "https://github.com/codex-storage/codex-go-bindings/releases/download/$(VERSION)/codex-${OS}-${ARCH}.zip" -endif +VERSION ?= "v0.0.20" all: run @@ -35,9 +30,9 @@ fetch: unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR) rm -f $(LIBS_DIR)/*.zip # Update the path to the shared library on macOS -ifeq ($(UNAME_S),Darwin) - install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib -endif +# ifeq ($(UNAME_S),Darwin) +# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib +# endif build: CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go diff --git a/go.mod b/go.mod index fa995ee..b09b2d8 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module example go 1.25.1 -require github.com/codex-storage/codex-go-bindings v0.0.19 +require github.com/codex-storage/codex-go-bindings v0.0.20 diff --git a/go.sum b/go.sum index e89f7c4..4029950 100644 --- a/go.sum +++ b/go.sum @@ -18,3 +18,5 @@ github.com/codex-storage/codex-go-bindings v0.0.18 h1:0l9XEoH9O5Akg7KCJreZq5jQxd github.com/codex-storage/codex-go-bindings v0.0.18/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg= github.com/codex-storage/codex-go-bindings v0.0.19 h1:zhEhwzcavvYdfkHpB5BH+PaqYvQ4VonIKhebS1vbKh0= github.com/codex-storage/codex-go-bindings v0.0.19/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg= +github.com/codex-storage/codex-go-bindings v0.0.20 h1:vK9jU8vafSJkMpOEHdPiQ9S8owSGUaPGVUxb7hKaIck= +github.com/codex-storage/codex-go-bindings v0.0.20/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=