mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
upgrade dist
This commit is contained in:
parent
8a16b564f9
commit
a6495e1e9a
2 changed files with 21 additions and 4 deletions
23
.github/workflows/release.yaml
vendored
23
.github/workflows/release.yaml
vendored
|
|
@ -58,7 +58,7 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sqlite-vec-linux-x86_64-extension
|
name: sqlite-vec-linux-x86_64-extension
|
||||||
|
|
@ -76,11 +76,13 @@ jobs:
|
||||||
name: sqlite-vec-windows-x86_64-extension
|
name: sqlite-vec-windows-x86_64-extension
|
||||||
path: dist/windows-x86_64
|
path: dist/windows-x86_64
|
||||||
- run: |
|
- run: |
|
||||||
curl -L https://github.com/asg017/sqlite-dist/releases/download/v0.0.1-alpha.3/sqlite-dist-x86_64-unknown-linux-gnu.tar.xz \
|
curl -L https://github.com/asg017/sqlite-dist/releases/download/v0.0.1-alpha.4/sqlite-dist-x86_64-unknown-linux-gnu.tar.xz \
|
||||||
| tar xfJ - --strip-components 1
|
| tar xfJ - --strip-components 1
|
||||||
- run: ./sqlite-dist ./sqlite-dist.toml --input dist/ --output distx/
|
- run: make sqlite-vec.h
|
||||||
|
- run: ./sqlite-dist ./sqlite-dist.toml --input dist/ --output distx/ --version $(cat VERSION)
|
||||||
- run: |
|
- run: |
|
||||||
gh release upload ${{ github.ref_name }} \
|
gh release upload ${{ github.ref_name }} \
|
||||||
|
distx/amalgamation/* \
|
||||||
distx/github_releases/* \
|
distx/github_releases/* \
|
||||||
distx/spm/* \
|
distx/spm/* \
|
||||||
distx/sqlpkg/* \
|
distx/sqlpkg/* \
|
||||||
|
|
@ -99,6 +101,7 @@ jobs:
|
||||||
npm publish --access public distx/npm/sqlite-vec-darwin-x64.tar.gz
|
npm publish --access public distx/npm/sqlite-vec-darwin-x64.tar.gz
|
||||||
npm publish --access public distx/npm/sqlite-vec-linux-x64.tar.gz
|
npm publish --access public distx/npm/sqlite-vec-linux-x64.tar.gz
|
||||||
npm publish --access public distx/npm/sqlite-vec-windows-x64.tar.gz
|
npm publish --access public distx/npm/sqlite-vec-windows-x64.tar.gz
|
||||||
|
npm publish --access public distx/npm/sqlite-vec-wasm-demo.tar.gz
|
||||||
npm publish --access public distx/npm/sqlite-vec.tar.gz
|
npm publish --access public distx/npm/sqlite-vec.tar.gz
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
@ -122,3 +125,17 @@ jobs:
|
||||||
env:
|
env:
|
||||||
TWINE_USERNAME: __token__
|
TWINE_USERNAME: __token__
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
upload-crate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
- run: make sqlite-vec.h
|
||||||
|
- run: cp sqlite-vec.c bindings/rust
|
||||||
|
- run: cp sqlite-vec.h bindings/rust
|
||||||
|
- run: cargo publish --no-verify
|
||||||
|
working-directory: ./bindings/rust
|
||||||
|
env:
|
||||||
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "sqlite-vec"
|
name = "sqlite-vec"
|
||||||
version = "0.0.1-alpha.3"
|
|
||||||
license = "MIT OR Apache"
|
license = "MIT OR Apache"
|
||||||
homepage = "https://alexgarcia.xyz/sqlite-vec"
|
homepage = "https://alexgarcia.xyz/sqlite-vec"
|
||||||
repo = "https://github.com/asg017/sqlite-vec"
|
repo = "https://github.com/asg017/sqlite-vec"
|
||||||
|
|
@ -11,6 +10,7 @@ authors = ["Alex Garcia"]
|
||||||
github_releases = {}
|
github_releases = {}
|
||||||
sqlpkg = {}
|
sqlpkg = {}
|
||||||
spm = {}
|
spm = {}
|
||||||
|
amalgamation = {include=["sqlite-vec.c", "sqlite-vec.h"]}
|
||||||
|
|
||||||
pip = {}
|
pip = {}
|
||||||
datasette = {}
|
datasette = {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue