File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,11 @@ jobs:
147147 - name : wasm npm pack
148148 if : matrix.name == 'wasm'
149149 run : |
150- git clone https://github.com/sqlite/sqlite-wasm.git sqlite-wasm
150+ TAG=$(git ls-remote --tags https://github.com/sqlite/sqlite-wasm.git | \
151+ awk -v ver=$(make sqlite_version) -F'/' '$NF ~ ver"-build[0-9]+$" {print $NF}' | \
152+ sort -V | \
153+ tail -n1)
154+ git clone --branch "$TAG" --depth 1 https://github.com/sqlite/sqlite-wasm.git sqlite-wasm
151155 rm -rf sqlite-wasm/sqlite-wasm/*
152156 unzip dist/sqlite-wasm.zip -d sqlite-wasm/tmp
153157 mv sqlite-wasm/tmp/sqlite-wasm-*/jswasm sqlite-wasm/sqlite-wasm
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ SQLITE3 ?= sqlite3
99CURL_VERSION ?= 8.12.1
1010
1111# set sqlite version for WASM static build
12- SQLITE_VERSION ?= 3.50.0
12+ SQLITE_VERSION ?= 3.49.2
1313
1414# Set default platform if not specified
1515ifeq ($(OS ) ,Windows_NT)
You can’t perform that action at this time.
0 commit comments