From 7a0e830f0482c39fdc2d114a71a6f67989685635 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Mon, 25 Mar 2024 13:59:13 +0800 Subject: [PATCH 1/2] chore: bump version to 0.16.0 --- 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 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7b1be17ea..a375a7a80 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ resolver = "2" [workspace.package] -version = "0.15.0" +version = "0.16.0" 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.15.0" } -databend-driver = { path = "driver", version = "0.15.0" } -databend-driver-macros = { path = "macros", version = "0.15.0" } -databend-sql = { path = "sql", version = "0.15.0" } +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" } diff --git a/bindings/nodejs/npm/darwin-arm64/package.json b/bindings/nodejs/npm/darwin-arm64/package.json index 00db8e370..371e20075 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.15.0", + "version": "0.16.0", "os": [ "darwin" ], diff --git a/bindings/nodejs/npm/darwin-x64/package.json b/bindings/nodejs/npm/darwin-x64/package.json index cf6f70823..199abba4d 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.15.0", + "version": "0.16.0", "os": [ "darwin" ], diff --git a/bindings/nodejs/npm/linux-arm64-gnu/package.json b/bindings/nodejs/npm/linux-arm64-gnu/package.json index 4ca89b92c..f949104c4 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.15.0", + "version": "0.16.0", "os": [ "linux" ], diff --git a/bindings/nodejs/npm/linux-x64-gnu/package.json b/bindings/nodejs/npm/linux-x64-gnu/package.json index f738fe906..693fc1bff 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.15.0", + "version": "0.16.0", "os": [ "linux" ], diff --git a/bindings/nodejs/npm/win32-x64-msvc/package.json b/bindings/nodejs/npm/win32-x64-msvc/package.json index 6ec18660e..01dd2f7ac 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.15.0", + "version": "0.16.0", "os": [ "win32" ], diff --git a/bindings/nodejs/package.json b/bindings/nodejs/package.json index 55f7685df..413637ed0 100644 --- a/bindings/nodejs/package.json +++ b/bindings/nodejs/package.json @@ -1,7 +1,7 @@ { "name": "databend-driver", "author": "Databend Authors ", - "version": "0.15.0", + "version": "0.16.0", "license": "Apache-2.0", "main": "index.js", "types": "index.d.ts", From 89c18d19f657d290fd7bb063e67b5838eca34921 Mon Sep 17 00:00:00 2001 From: everpcpc Date: Mon, 25 Mar 2024 14:00:31 +0800 Subject: [PATCH 2/2] fix: update bump script --- scripts/bump.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/bump.sh b/scripts/bump.sh index f545b2122..728ca7eb6 100755 --- a/scripts/bump.sh +++ b/scripts/bump.sh @@ -14,6 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +set -e + VERSION=$1 if [ -z "$VERSION" ]; then @@ -33,6 +35,11 @@ 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"