Skip to content

Commit

Permalink
chore: bump version to 0.16.1 (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Apr 7, 2024
1 parent d9f7454 commit 79d1703
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 16 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.16.0"
version = "0.16.1"
edition = "2021"
license = "Apache-2.0"
authors = ["Databend Authors <opensource@datafuselabs.com>"]
Expand All @@ -21,7 +21,7 @@ keywords = ["databend", "database"]
repository = "https://github.com/datafuselabs/bendsql"

[workspace.dependencies]
databend-client = { path = "core", version = "0.16.0" }
databend-driver = { path = "driver", version = "0.16.0" }
databend-driver-macros = { path = "macros", version = "0.16.0" }
databend-sql = { path = "sql", version = "0.16.0" }
databend-client = { path = "core", version = "0.16.1" }
databend-driver = { path = "driver", version = "0.16.1" }
databend-driver-macros = { path = "macros", version = "0.16.1" }
databend-sql = { path = "sql", version = "0.16.1" }
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-darwin-arm64",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.16.0",
"version": "0.16.1",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-darwin-x64",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.16.0",
"version": "0.16.1",
"os": [
"darwin"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-linux-arm64-gnu",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.16.0",
"version": "0.16.1",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-linux-x64-gnu",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.16.0",
"version": "0.16.1",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-win32-x64-msvc",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.16.0",
"version": "0.16.1",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "databend-driver",
"author": "Databend Authors <opensource@datafuselabs.com>",
"version": "0.16.0",
"version": "0.16.1",
"license": "Apache-2.0",
"main": "index.js",
"types": "index.d.ts",
Expand Down
11 changes: 6 additions & 5 deletions scripts/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ fi

echo "Bumping version to $VERSION"

git status
git checkout main
git fetch upstream
git rebase upstream/main
git checkout -b "bump-$VERSION"

if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' "s/version = \".*\"/version = \"$VERSION\"/g" Cargo.toml
sed -i '' "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" bindings/nodejs/package.json
Expand All @@ -35,11 +41,6 @@ else
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" bindings/nodejs/npm/*/package.json
fi

git status
git checkout main
git fetch upstream
git rebase upstream/main
git checkout -b "bump-$VERSION"
git status
git add Cargo.toml bindings/nodejs/package.json bindings/nodejs/npm/*/package.json
git commit -m "chore: bump version to $VERSION"

0 comments on commit 79d1703

Please sign in to comment.