From 79d17034c0e15baa6d778c0205ca433bb346ceb5 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Sun, 7 Apr 2024 11:56:43 +0800 Subject: [PATCH] chore: bump version to 0.16.1 (#379) --- Cargo.toml | 10 +++++----- bindings/nodejs/npm/darwin-arm64/package.json | 2 +- bindings/nodejs/npm/darwin-x64/package.json | 2 +- bindings/nodejs/npm/linux-arm64-gnu/package.json | 2 +- bindings/nodejs/npm/linux-x64-gnu/package.json | 2 +- bindings/nodejs/npm/win32-x64-msvc/package.json | 2 +- bindings/nodejs/package.json | 2 +- scripts/bump.sh | 11 ++++++----- 8 files changed, 17 insertions(+), 16 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a375a7a80..7a1ecd62e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 "] @@ -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" } diff --git a/bindings/nodejs/npm/darwin-arm64/package.json b/bindings/nodejs/npm/darwin-arm64/package.json index 371e20075..3d56b072e 100644 --- a/bindings/nodejs/npm/darwin-arm64/package.json +++ b/bindings/nodejs/npm/darwin-arm64/package.json @@ -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" ], diff --git a/bindings/nodejs/npm/darwin-x64/package.json b/bindings/nodejs/npm/darwin-x64/package.json index 199abba4d..aacb23151 100644 --- a/bindings/nodejs/npm/darwin-x64/package.json +++ b/bindings/nodejs/npm/darwin-x64/package.json @@ -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" ], diff --git a/bindings/nodejs/npm/linux-arm64-gnu/package.json b/bindings/nodejs/npm/linux-arm64-gnu/package.json index f949104c4..0cc18a2ae 100644 --- a/bindings/nodejs/npm/linux-arm64-gnu/package.json +++ b/bindings/nodejs/npm/linux-arm64-gnu/package.json @@ -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" ], diff --git a/bindings/nodejs/npm/linux-x64-gnu/package.json b/bindings/nodejs/npm/linux-x64-gnu/package.json index 693fc1bff..ad920d457 100644 --- a/bindings/nodejs/npm/linux-x64-gnu/package.json +++ b/bindings/nodejs/npm/linux-x64-gnu/package.json @@ -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" ], diff --git a/bindings/nodejs/npm/win32-x64-msvc/package.json b/bindings/nodejs/npm/win32-x64-msvc/package.json index 01dd2f7ac..839cea7af 100644 --- a/bindings/nodejs/npm/win32-x64-msvc/package.json +++ b/bindings/nodejs/npm/win32-x64-msvc/package.json @@ -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" ], diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json index 413637ed0..ef13fa148 100644 --- a/bindings/nodejs/package.json +++ b/bindings/nodejs/package.json @@ -1,7 +1,7 @@ { "name": "databend-driver", "author": "Databend Authors ", - "version": "0.16.0", + "version": "0.16.1", "license": "Apache-2.0", "main": "index.js", "types": "index.d.ts", diff --git a/scripts/bump.sh b/scripts/bump.sh index 728ca7eb6..57c58c1d9 100755 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -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 @@ -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"