Include ARCH in asset name (#219)
This commit is contained in:
parent
de29868f54
commit
5159aeefd1
2
Makefile
2
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user