File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed
Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -525,6 +525,31 @@ jobs:
525525 echo "❌ SQLITE_DBMEMORY_VERSION not found in sqlite-memory.h"
526526 exit 1
527527
528+ - uses : actions/checkout@v4.2.2
529+ if : steps.tag.outputs.version != ''
530+ with :
531+ repository : sqliteai/sqlite-wasm
532+ path : sqlite-wasm
533+ submodules : recursive
534+ token : ${{ secrets.RELEASE_PAT }}
535+
536+ - name : release sqlite-wasm
537+ if : steps.tag.outputs.version != ''
538+ run : |
539+ cd sqlite-wasm
540+ git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com"
541+ git config --global user.name "$GITHUB_ACTOR"
542+ cd modules/sqlite-memory
543+ git checkout ${{ github.sha }}
544+ cd ../..
545+ git add modules/sqlite-memory
546+ PKG=sqlite-wasm/package.json
547+ TMP=sqlite-wasm/package.tmp.json
548+ jq --arg version "$(cat modules/sqlite/VERSION)-sync.$(cd modules/sqlite-sync && make version)-vector.$(cd modules/sqlite-vector && make version)-memory.$(cd modules/sqlite-memory && make version)" '.version = $version' "$PKG" > "$TMP" && mv "$TMP" "$PKG"
549+ git add "$PKG"
550+ git commit -m "Bump sqlite-memory version to ${{ steps.tag.outputs.version }}"
551+ git push origin main
552+
528553 - uses : softprops/action-gh-release@v2.2.1
529554 if : steps.tag.outputs.version != ''
530555 with :
Original file line number Diff line number Diff line change 2626extern "C" {
2727#endif
2828
29- #define SQLITE_DBMEMORY_VERSION "0.7.0 "
29+ #define SQLITE_DBMEMORY_VERSION "0.7.1 "
3030
3131// public API
3232SQLITE_DBMEMORY_API int sqlite3_memory_init (sqlite3 * db , char * * pzErrMsg , const sqlite3_api_routines * pApi );
You can’t perform that action at this time.
0 commit comments