Skip to content

Commit 648d3f9

Browse files
committed
Update version
1 parent eb16434 commit 648d3f9

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

Makefile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ endif
2020
# Configuration for fetching the right binary
2121
OS ?= "linux"
2222
ARCH ?= "amd64"
23-
VERSION ?= "v0.0.17"
24-
DOWNLOAD_URL ?= "https://github.com/codex-storage/codex-go-bindings/releases/latest/download/codex-${OS}-${ARCH}.zip"
25-
26-
ifneq ($(VERSION),)
27-
DOWNLOAD_URL := "https://github.com/codex-storage/codex-go-bindings/releases/download/$(VERSION)/codex-${OS}-${ARCH}.zip"
28-
endif
23+
VERSION ?= "v0.0.20"
2924

3025
all: run
3126

@@ -35,9 +30,9 @@ fetch:
3530
unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR)
3631
rm -f $(LIBS_DIR)/*.zip
3732
# Update the path to the shared library on macOS
38-
ifeq ($(UNAME_S),Darwin)
39-
install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
40-
endif
33+
# ifeq ($(UNAME_S),Darwin)
34+
# install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
35+
# endif
4136

4237
build:
4338
CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module example
22

33
go 1.25.1
44

5-
require github.com/codex-storage/codex-go-bindings v0.0.19
5+
require github.com/codex-storage/codex-go-bindings v0.0.20

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ github.com/codex-storage/codex-go-bindings v0.0.18 h1:0l9XEoH9O5Akg7KCJreZq5jQxd
1818
github.com/codex-storage/codex-go-bindings v0.0.18/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
1919
github.com/codex-storage/codex-go-bindings v0.0.19 h1:zhEhwzcavvYdfkHpB5BH+PaqYvQ4VonIKhebS1vbKh0=
2020
github.com/codex-storage/codex-go-bindings v0.0.19/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
21+
github.com/codex-storage/codex-go-bindings v0.0.20 h1:vK9jU8vafSJkMpOEHdPiQ9S8owSGUaPGVUxb7hKaIck=
22+
github.com/codex-storage/codex-go-bindings v0.0.20/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=

0 commit comments

Comments
 (0)