File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,9 +18,14 @@ name: "npm Release"
1818# FIRST-TIME SETUP (required before this workflow will work):
1919#
2020# 1. Build and publish the package locally to create it on npm:
21- # ./scripts/vendor.sh make loadable mkdir -p dist/$(node -p "process.platform
22- # + '-' + process.arch") cp dist/vec0.* dist/$(node -p "process.platform +
23- # '-' + process.arch")/ npm login npm publish --access public
21+ # ```sh
22+ # ./scripts/vendor.sh
23+ # make loadable
24+ # mkdir -p dist/$(node -p "process.platform + '-' + process.arch")
25+ # cp dist/vec0.* dist/$(node -p "process.platform + '-' + process.arch")/
26+ # npm login
27+ # npm publish --access public --tag alpha # use --tag for prerelease versions
28+ # ```
2429#
2530# 2. Configure OIDC trusted publishing on npmjs.com:
2631# - Go to https://www.npmjs.com/package/@USER/sqlite-vec/access
You can’t perform that action at this time.
0 commit comments