From 3d3a249119ee09e8cbec7c969f75522531581bd2 Mon Sep 17 00:00:00 2001 From: Hanchin Hsieh Date: Tue, 27 Aug 2024 00:03:54 +0800 Subject: [PATCH] chore(build): Build-LuaTiktoken.ps1 (#243) --- Build-LuaTiktoken.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build-LuaTiktoken.ps1 b/Build-LuaTiktoken.ps1 index 4b1d301..19e01e7 100644 --- a/Build-LuaTiktoken.ps1 +++ b/Build-LuaTiktoken.ps1 @@ -11,7 +11,7 @@ function Build-FromSource($feature) { } $tempDir = Join-Path $BuildDir "lua-tiktoken-temp" - git clone https://github.com/gptlang/lua-tiktoken.git $tempDir + git clone --branch v0.2.2 --depth 1 https://github.com/gptlang/lua-tiktoken.git $tempDir Push-Location $tempDir cargo build --features=$feature