Skip to content

Commit b8c082a

Browse files
committed
lowering version should fix the export default issue
1 parent eb8e0f6 commit b8c082a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SQLITE3 ?= sqlite3
99
CURL_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
1515
ifeq ($(OS),Windows_NT)

0 commit comments

Comments
 (0)