Compare commits

..

3 Commits

Author SHA1 Message Date
Lance Release
458217783c Bump version: 0.1.15 → 0.1.16 2023-07-20 20:24:37 +00:00
gsilvestrin
21b1a71a6b bugfix(node): Don't persist credentials on make-release-commit.yml (#345) 2023-07-20 13:24:06 -07:00
gsilvestrin
2d899675e8 bugfix(node): Make release task can't push to repo (#344) 2023-07-20 13:15:29 -07:00
8 changed files with 36 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.1.15
current_version = 0.1.16
commit = True
message = Bump version: {current_version} → {new_version}
tag = True

View File

@@ -29,6 +29,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: main
persist-credentials: false
fetch-depth: 0
lfs: true
- name: Set git configs for bumpversion
@@ -44,6 +45,15 @@ jobs:
run: |
pip install bump2version
bumpversion --verbose ${{ inputs.part }}
git push
- name: Push new version and tag
if: ${{ inputs.dry_run }} == "false"
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}
branch: main
tags: true
- uses: ./.github/workflows/update_package_lock
if: ${{ inputs.dry_run }} == "false"
with:
github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}

View File

@@ -178,3 +178,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/workflows/update_package_lock
with:
github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}

View File

@@ -1,6 +1,11 @@
name: update_package_lock
description: "Update node's package.lock"
inputs:
github_token:
required: true
description: "github token for the repo"
runs:
using: "composite"
steps:
@@ -18,5 +23,11 @@ runs:
npm install
git add package-lock.json
git commit -m "Updating package-lock.json"
git push
shell: bash
- name: Push changes
if: ${{ inputs.dry_run }} == "false"
uses: ad-m/github-push-action@master
with:
github_token: ${{ inputs.github_token }}
branch: main
tags: true

View File

@@ -10,3 +10,5 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- uses: ./.github/workflows/update_package_lock
with:
github_token: ${{ secrets.LANCEDB_RELEASE_TOKEN }}

View File

@@ -1,6 +1,6 @@
{
"name": "vectordb",
"version": "0.1.15",
"version": "0.1.16",
"description": " Serverless, low-latency vector database for AI applications",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@@ -78,10 +78,10 @@
}
},
"optionalDependencies": {
"@lancedb/vectordb-darwin-arm64": "0.1.15",
"@lancedb/vectordb-darwin-x64": "0.1.15",
"@lancedb/vectordb-linux-arm64-gnu": "0.1.15",
"@lancedb/vectordb-linux-x64-gnu": "0.1.15",
"@lancedb/vectordb-win32-x64-msvc": "0.1.15"
"@lancedb/vectordb-darwin-arm64": "0.1.16",
"@lancedb/vectordb-darwin-x64": "0.1.16",
"@lancedb/vectordb-linux-arm64-gnu": "0.1.16",
"@lancedb/vectordb-linux-x64-gnu": "0.1.16",
"@lancedb/vectordb-win32-x64-msvc": "0.1.16"
}
}

View File

@@ -1,6 +1,6 @@
[package]
name = "vectordb-node"
version = "0.1.15"
version = "0.1.16"
description = "Serverless, low-latency vector database for AI applications"
license = "Apache-2.0"
edition = "2018"

View File

@@ -1,6 +1,6 @@
[package]
name = "vectordb"
version = "0.1.15"
version = "0.1.16"
edition = "2021"
description = "Serverless, low-latency vector database for AI applications"
license = "Apache-2.0"