File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 55
66permissions :
77 contents : write
8+ id-token : write
89
910jobs :
1011 build :
@@ -479,10 +480,12 @@ jobs:
479480 node-version : ' 20'
480481 registry-url : ' https://registry.npmjs.org'
481482
483+ - name : update npm
484+ if : steps.tag.outputs.version != ''
485+ run :
npm install -g [email protected] 486+
482487 - name : build and publish npm packages
483488 if : steps.tag.outputs.version != ''
484- env :
485- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
486489 run : |
487490 cd packages/node
488491
@@ -516,17 +519,15 @@ jobs:
516519 platform_name=$(basename "$platform_dir")
517520 echo " Publishing @sqliteai/sqlite-ai-${platform_name}..."
518521 cd "$platform_dir"
519- npm publish --access public
520- # TODO: Add --provenance flag after switching to OIDC (requires package to exist first)
522+ npm publish --provenance --access public
521523 cd ..
522524 echo " ✓ Published @sqliteai/sqlite-ai-${platform_name}"
523525 done
524526 cd ..
525527
526528 # Publish main package
527529 echo "Publishing main package to npm..."
528- npm publish --access public
529- # TODO: Add --provenance flag after switching to OIDC (requires package to exist first)
530+ npm publish --provenance --access public
530531 echo "✓ Published @sqliteai/sqlite-ai@${{ steps.tag.outputs.version }}"
531532
532533 echo ""
Original file line number Diff line number Diff line change 2424extern "C" {
2525#endif
2626
27- #define SQLITE_AI_VERSION "0.7.56 "
27+ #define SQLITE_AI_VERSION "0.7.57 "
2828
2929SQLITE_AI_API int sqlite3_ai_init (sqlite3 * db , char * * pzErrMsg , const sqlite3_api_routines * pApi );
3030
You can’t perform that action at this time.
0 commit comments