From 5159aeefd1b631d9b0687908e7da527fd657c90b Mon Sep 17 00:00:00 2001 From: rkk1995 <50536089+rkk1995@users.noreply.github.com> Date: Sun, 25 Aug 2024 15:54:42 -0400 Subject: [PATCH] Include ARCH in asset name (#219) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d69d512..272406b 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ define build_from_source endef define download_release - curl -L https://github.com/gptlang/lua-tiktoken/releases/latest/download/tiktoken_core-$1-$2.$(EXT) -o $(BUILD_DIR)/tiktoken_core.$(EXT) + curl -L https://github.com/gptlang/lua-tiktoken/releases/latest/download/tiktoken_core-$1-$(ARCH)-$2.$(EXT) -o $(BUILD_DIR)/tiktoken_core.$(EXT) endef ifeq ($(BUILD_FROM_SOURCE), true)