Include ARCH in asset name (#219)

This commit is contained in:
rkk1995
2024-08-25 15:54:42 -04:00
committed by GitHub
parent de29868f54
commit 5159aeefd1

View File

@@ -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)