mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-26 01:06:27 +02:00
update go release script
This commit is contained in:
parent
a29348f846
commit
59436424ec
1 changed files with 8 additions and 5 deletions
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
|
|
@ -234,17 +234,20 @@ jobs:
|
||||||
working-directory: go-sqlite3/
|
working-directory: go-sqlite3/
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: asg017/sqlite-vec-ncruces-bindings
|
repository: asg017/sqlite-vec-bindings-go
|
||||||
path: sqlite-vec-ncruces-bindings
|
path: sqlite-vec-bindings-go
|
||||||
token: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}
|
token: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}
|
||||||
- run: cp go-sqlite3/embed/sqlite3.wasm sqlite-vec-ncruces-bindings/sqlite3.wasm
|
- run: |
|
||||||
|
cp go-sqlite3/embed/sqlite3.wasm sqlite-vec-bindings-go/ncruces/sqlite3.wasm
|
||||||
|
cp sqlite-vec.c sqlite-vec-bindings-go/cgo/sqlite-vec.c
|
||||||
|
cp sqlite-vec.h sqlite-vec-bindings-go/cgo/sqlite-vec.h
|
||||||
- run: |
|
- run: |
|
||||||
git config user.name "Alex Garcia"
|
git config user.name "Alex Garcia"
|
||||||
git config user.email "alexsebastian.garcia@gmail.com"
|
git config user.email "alexsebastian.garcia@gmail.com"
|
||||||
git add sqlite3.wasm
|
git add .
|
||||||
git commit --allow-empty -m "AUTOMATED ${{ github.ref_name }}" || exit 0
|
git commit --allow-empty -m "AUTOMATED ${{ github.ref_name }}" || exit 0
|
||||||
git tag "${{ github.ref_name }}"
|
git tag "${{ github.ref_name }}"
|
||||||
git push origin main "${{ github.ref_name }}"
|
git push origin main "${{ github.ref_name }}"
|
||||||
working-directory: sqlite-vec-ncruces-bindings
|
working-directory: sqlite-vec-bindings-go
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}
|
GITHUB_TOKEN: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue