Skip to content

Commit 513070d

Browse files
committed
chore(release): bump sqlite-vector version to 0.9.22 and update release workflow for sqlite-wasm
1 parent 75e9f34 commit 513070d

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,30 @@ jobs:
199199
fi
200200
echo "❌ SQLITE_VECTOR_VERSION not found in sqlite-vector.h"
201201
exit 1
202+
203+
- uses: actions/checkout@v4.2.2
204+
if: steps.tag.outputs.version != ''
205+
with:
206+
repository: sqliteai/sqlite-wasm
207+
path: sqlite-wasm
208+
submodules: recursive
209+
token: ${{ secrets.PAT }}
210+
211+
- name: release sqlite-wasm
212+
if: steps.tag.outputs.version != ''
213+
run: |
214+
cd sqlite-wasm
215+
git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
216+
git config --global user.name "$GITHUB_ACTOR"
217+
cd modules/sqlite-vector
218+
git checkout ${{ github.sha }}
219+
cd ../..
220+
git add modules/sqlite-vector
221+
git commit -m "Bump sqlite-vector version to ${{ steps.tag.outputs.version }}"
222+
git push origin main
202223
203224
- name: zip artifacts
225+
if: steps.tag.outputs.version != ''
204226
run: |
205227
for folder in "artifacts"/*; do
206228
if [ -d "$folder" ]; then

src/sqlite-vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
extern "C" {
2525
#endif
2626

27-
#define SQLITE_VECTOR_VERSION "0.9.21"
27+
#define SQLITE_VECTOR_VERSION "0.9.22"
2828

2929
SQLITE_VECTOR_API int sqlite3_vector_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi);
3030

0 commit comments

Comments
 (0)