Skip to content

Commit 941de22

Browse files
committed
Bumped core version. Locking sql-js clone to a specific version.
1 parent 7d24ab7 commit 941de22

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,20 @@
22
set -e
33

44
SQLITE_VERSION="2.7.6"
5-
POWERSYNC_CORE_VERSION="0.4.0"
5+
POWERSYNC_CORE_VERSION="0.4.2"
66
SQLITE_PATH="sql.js"
77

88
if [ -d "$SQLITE_PATH" ]; then
99
echo "Deleting existing clone"
1010
rm -rf $SQLITE_PATH
1111
fi
1212

13-
git clone --depth 1 https://github.com/sql-js/sql.js.git $SQLITE_PATH
14-
13+
git clone --filter=blob:none https://github.com/sql-js/sql.js.git $SQLITE_PATH
1514
cd $SQLITE_PATH
15+
16+
# Main version as of 2024-10-01
17+
git checkout 52e5649
18+
1619
git apply ../patches/*
1720
mkdir -p powersync-libs
1821
curl -L -o powersync-libs/libpowersync-wasm.a "https://github.com/powersync-ja/powersync-sqlite-core/releases/download/v${POWERSYNC_CORE_VERSION}/libpowersync-wasm.a"

0 commit comments

Comments
 (0)