Skip to content

Commit

Permalink
update go release script
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Jul 17, 2024
1 parent a29348f commit 5943642
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,20 @@ jobs:
working-directory: go-sqlite3/
- uses: actions/checkout@v4
with:
repository: asg017/sqlite-vec-ncruces-bindings
path: sqlite-vec-ncruces-bindings
repository: asg017/sqlite-vec-bindings-go
path: sqlite-vec-bindings-go
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: |
git config user.name "Alex Garcia"
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 tag "${{ github.ref_name }}"
git push origin main "${{ github.ref_name }}"
working-directory: sqlite-vec-ncruces-bindings
working-directory: sqlite-vec-bindings-go
env:
GITHUB_TOKEN: ${{secrets.NCRUCES_BINDINGS_REPO_PAT}}

0 comments on commit 5943642

Please sign in to comment.