Skip to content

Commit

Permalink
chore: bump version to 0.20.1 (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Aug 9, 2024
1 parent 2339917 commit b590fe1
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ resolver = "2"

[workspace.package]
edition = "2021"
version = "0.20.0"
version = "0.20.1"
license = "Apache-2.0"
authors = ["Databend Authors <[email protected]>"]
categories = ["database"]
keywords = ["databend", "database"]
repository = "https://github.com/datafuselabs/bendsql"

[workspace.dependencies]
databend-client = { path = "core", version = "0.20.0" }
databend-driver = { path = "driver", version = "0.20.0" }
databend-driver-core = { path = "sql", version = "0.20.0" }
databend-driver-macros = { path = "macros", version = "0.20.0" }
databend-client = { path = "core", version = "0.20.1" }
databend-driver = { path = "driver", version = "0.20.1" }
databend-driver-core = { path = "sql", version = "0.20.1" }
databend-driver-macros = { path = "macros", version = "0.20.1" }

tokio-stream = "0.1"
chrono = { version = "0.4.35", default-features = false, features = ["clock"] }
Expand Down
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.20.0",
"version": "0.20.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.20.0",
"version": "0.20.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.20.0",
"version": "0.20.1",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-linux-arm64-musl",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.20.0",
"version": "0.20.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.20.0",
"version": "0.20.1",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion bindings/nodejs/npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@databend-driver/lib-linux-x64-musl",
"repository": "https://github.com/datafuselabs/bendsql.git",
"version": "0.20.0",
"version": "0.20.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.20.0",
"version": "0.20.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 <[email protected]>",
"version": "0.20.0",
"version": "0.20.1",
"license": "Apache-2.0",
"main": "index.js",
"types": "index.d.ts",
Expand Down
5 changes: 3 additions & 2 deletions scripts/bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ git rebase upstream/main
git checkout -b "bump-$VERSION"

if [[ "$OSTYPE" == "darwin"* ]]; then
sed -i '' "s/version = \".*\"/version = \"$VERSION\"/g" Cargo.toml
sed -ri '' "s/^databend-(.*)version = \".*\"/databend-\1version = \"$VERSION\"/g" Cargo.toml
sed -i '' "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" bindings/nodejs/package.json
sed -i '' "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" bindings/nodejs/npm/*/package.json
else
sed -i "s/version = \".*\"/version = \"$VERSION\"/g" Cargo.toml
sed -ri "s/^version = \".*\"/version = \"$VERSION\"/g" Cargo.toml
sed -ri "s/^databend-(.*)version = \".*\"/databend-\\1version = \"$VERSION\"/g" Cargo.toml
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" bindings/nodejs/package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$VERSION\"/g" bindings/nodejs/npm/*/package.json
fi
Expand Down

0 comments on commit b590fe1

Please sign in to comment.