This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch fix-build
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit c4d5d309536fabb1ba0c1c614df99aad40efe2ac
Author: Xuanwo <[email protected]>
AuthorDate: Fri Feb 23 12:31:55 2024 +0800

    ci: Remove version suffix from package versions
    
    Signed-off-by: Xuanwo <[email protected]>
---
 .github/workflows/release_rust.yml                | 2 ++
 .gitignore                                        | 1 +
 bindings/c/Cargo.toml                             | 4 ++--
 bindings/cpp/Cargo.toml                           | 2 +-
 bindings/dotnet/Cargo.toml                        | 2 +-
 bindings/haskell/Cargo.toml                       | 2 +-
 bindings/java/Cargo.toml                          | 2 +-
 bindings/java/pom.xml                             | 2 +-
 bindings/lua/Cargo.toml                           | 2 +-
 bindings/nodejs/Cargo.toml                        | 2 +-
 bindings/nodejs/npm/darwin-arm64/package.json     | 4 ++--
 bindings/nodejs/npm/darwin-x64/package.json       | 4 ++--
 bindings/nodejs/npm/linux-arm64-gnu/package.json  | 4 ++--
 bindings/nodejs/npm/linux-arm64-musl/package.json | 4 ++--
 bindings/nodejs/npm/linux-x64-gnu/package.json    | 4 ++--
 bindings/nodejs/npm/win32-arm64-msvc/package.json | 4 ++--
 bindings/nodejs/npm/win32-x64-msvc/package.json   | 4 ++--
 bindings/ocaml/Cargo.toml                         | 2 +-
 bindings/php/Cargo.toml                           | 2 +-
 bindings/python/Cargo.toml                        | 2 +-
 bindings/ruby/Cargo.toml                          | 2 +-
 scripts/constants.py                              | 2 +-
 22 files changed, 31 insertions(+), 28 deletions(-)

diff --git a/.github/workflows/release_rust.yml 
b/.github/workflows/release_rust.yml
index afacf808ba..26dae0b827 100644
--- a/.github/workflows/release_rust.yml
+++ b/.github/workflows/release_rust.yml
@@ -64,6 +64,8 @@ jobs:
           need-protoc: true
 
       - name: Dryrun ${{ matrix.package }}
+        # Only dryrun test upon core.
+        if: matrix.package == 'core'
         working-directory: ${{ matrix.package }}
         run: cargo publish --all-features --dry-run
         env:
diff --git a/.gitignore b/.gitignore
index 40617580a8..5f15585d67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
 .idea
 
 **/target
+**/vendor
 dist/
 
 # env files for backends
diff --git a/bindings/c/Cargo.toml b/bindings/c/Cargo.toml
index 8b486eee24..2b5d051fe7 100644
--- a/bindings/c/Cargo.toml
+++ b/bindings/c/Cargo.toml
@@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/opendal";
 rust-version = "1.67"
-version = "0.44.3+core.0.45.1"
+version = "0.44.3"
 
 [lib]
 crate-type = ["cdylib", "staticlib"]
@@ -37,7 +37,7 @@ cbindgen = "0.26.0"
 [dependencies]
 bytes = "1.4.0"
 once_cell = "1.17.1"
-opendal = { version = "0.45", path = "../../core", features = [
+opendal = { version = "0.45.1", path = "../../core", features = [
   "layers-blocking",
 ] }
 tokio = { version = "1.27", features = ["fs", "macros", "rt-multi-thread"] }
diff --git a/bindings/cpp/Cargo.toml b/bindings/cpp/Cargo.toml
index ddcea103d2..57f1b7cfb7 100644
--- a/bindings/cpp/Cargo.toml
+++ b/bindings/cpp/Cargo.toml
@@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/opendal";
 rust-version = "1.67"
-version = "0.44.3+core.0.45.1"
+version = "0.44.3"
 
 [lib]
 crate-type = ["staticlib"]
diff --git a/bindings/dotnet/Cargo.toml b/bindings/dotnet/Cargo.toml
index 08280d5927..a0320fdb77 100644
--- a/bindings/dotnet/Cargo.toml
+++ b/bindings/dotnet/Cargo.toml
@@ -18,7 +18,7 @@
 [package]
 name = "opendal-dotnet"
 publish = false
-version = "0.1.1+core.0.45.1"
+version = "0.1.1"
 
 authors = ["Apache OpenDAL <[email protected]>"]
 edition = "2021"
diff --git a/bindings/haskell/Cargo.toml b/bindings/haskell/Cargo.toml
index 98198c146f..32d9da1cec 100644
--- a/bindings/haskell/Cargo.toml
+++ b/bindings/haskell/Cargo.toml
@@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/opendal";
 rust-version = "1.67"
-version = "0.44.3+core.0.45.1"
+version = "0.44.3"
 
 [lib]
 crate-type = ["cdylib"]
diff --git a/bindings/java/Cargo.toml b/bindings/java/Cargo.toml
index 9439c3420f..117a4ee62e 100644
--- a/bindings/java/Cargo.toml
+++ b/bindings/java/Cargo.toml
@@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/opendal";
 rust-version = "1.67"
-version = "0.45.1+core.0.45.1"
+version = "0.45.1"
 
 [lib]
 crate-type = ["cdylib"]
diff --git a/bindings/java/pom.xml b/bindings/java/pom.xml
index ea4b863593..db025c82bd 100644
--- a/bindings/java/pom.xml
+++ b/bindings/java/pom.xml
@@ -32,7 +32,7 @@
 
     <groupId>org.apache.opendal</groupId>
     <artifactId>opendal-java</artifactId>
-    <version>0.45.1+core.0.45.1</version>
+    <version>0.45.1</version>
 
     <name>Apache OpenDALâ„¢</name>
     <description>
diff --git a/bindings/lua/Cargo.toml b/bindings/lua/Cargo.toml
index 4ed78028fa..c0b6bbd73f 100644
--- a/bindings/lua/Cargo.toml
+++ b/bindings/lua/Cargo.toml
@@ -18,7 +18,7 @@
 [package]
 name = "opendal-lua"
 publish = false
-version = "0.1.1+core.0.45.1"
+version = "0.1.1"
 
 authors = ["Apache OpenDAL <[email protected]>"]
 edition = "2021"
diff --git a/bindings/nodejs/Cargo.toml b/bindings/nodejs/Cargo.toml
index cd6e3e8f58..7a4e99dcd1 100644
--- a/bindings/nodejs/Cargo.toml
+++ b/bindings/nodejs/Cargo.toml
@@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/opendal";
 rust-version = "1.67"
-version = "0.45.1+core.0.45.1"
+version = "0.45.1"
 
 [features]
 default = [
diff --git a/bindings/nodejs/npm/darwin-arm64/package.json 
b/bindings/nodejs/npm/darwin-arm64/package.json
index e7de93667a..c440ef017e 100644
--- a/bindings/nodejs/npm/darwin-arm64/package.json
+++ b/bindings/nodejs/npm/darwin-arm64/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@opendal/lib-darwin-arm64",
   "repository": "[email protected]/apache/opendal.git",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "os": [
     "darwin"
   ],
@@ -16,4 +16,4 @@
   "engines": {
     "node": ">= 10"
   }
-}
\ No newline at end of file
+}
diff --git a/bindings/nodejs/npm/darwin-x64/package.json 
b/bindings/nodejs/npm/darwin-x64/package.json
index 9eead89607..f925182027 100644
--- a/bindings/nodejs/npm/darwin-x64/package.json
+++ b/bindings/nodejs/npm/darwin-x64/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-darwin-x64",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "repository": "[email protected]/apache/opendal.git",
   "os": [
     "darwin"
@@ -16,4 +16,4 @@
   "engines": {
     "node": ">= 10"
   }
-}
\ No newline at end of file
+}
diff --git a/bindings/nodejs/npm/linux-arm64-gnu/package.json 
b/bindings/nodejs/npm/linux-arm64-gnu/package.json
index 1b09c42bc5..f7bdf99143 100644
--- a/bindings/nodejs/npm/linux-arm64-gnu/package.json
+++ b/bindings/nodejs/npm/linux-arm64-gnu/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-linux-arm64-gnu",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "repository": "[email protected]/apache/opendal.git",
   "os": [
     "linux"
@@ -19,4 +19,4 @@
   "libc": [
     "glibc"
   ]
-}
\ No newline at end of file
+}
diff --git a/bindings/nodejs/npm/linux-arm64-musl/package.json 
b/bindings/nodejs/npm/linux-arm64-musl/package.json
index a93744c119..fae83c99a9 100644
--- a/bindings/nodejs/npm/linux-arm64-musl/package.json
+++ b/bindings/nodejs/npm/linux-arm64-musl/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-linux-arm64-musl",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "repository": "[email protected]/apache/opendal.git",
   "os": [
     "linux"
@@ -19,4 +19,4 @@
   "libc": [
     "glibc"
   ]
-}
\ No newline at end of file
+}
diff --git a/bindings/nodejs/npm/linux-x64-gnu/package.json 
b/bindings/nodejs/npm/linux-x64-gnu/package.json
index eede024c2d..fc64acc971 100644
--- a/bindings/nodejs/npm/linux-x64-gnu/package.json
+++ b/bindings/nodejs/npm/linux-x64-gnu/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-linux-x64-gnu",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "repository": "[email protected]/apache/opendal.git",
   "os": [
     "linux"
@@ -19,4 +19,4 @@
   "libc": [
     "glibc"
   ]
-}
\ No newline at end of file
+}
diff --git a/bindings/nodejs/npm/win32-arm64-msvc/package.json 
b/bindings/nodejs/npm/win32-arm64-msvc/package.json
index 0329d03eb3..c81e1ad6d8 100644
--- a/bindings/nodejs/npm/win32-arm64-msvc/package.json
+++ b/bindings/nodejs/npm/win32-arm64-msvc/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-win32-arm64-msvc",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "repository": "[email protected]/apache/opendal.git",
   "os": [
     "win32"
@@ -16,4 +16,4 @@
   "engines": {
     "node": ">= 10"
   }
-}
\ No newline at end of file
+}
diff --git a/bindings/nodejs/npm/win32-x64-msvc/package.json 
b/bindings/nodejs/npm/win32-x64-msvc/package.json
index 03f2db2636..54645678ff 100644
--- a/bindings/nodejs/npm/win32-x64-msvc/package.json
+++ b/bindings/nodejs/npm/win32-x64-msvc/package.json
@@ -1,6 +1,6 @@
 {
   "name": "@opendal/lib-win32-x64-msvc",
-  "version": "0.45.1+core.0.45.1",
+  "version": "0.45.1",
   "repository": "[email protected]/apache/opendal.git",
   "os": [
     "win32"
@@ -16,4 +16,4 @@
   "engines": {
     "node": ">= 10"
   }
-}
\ No newline at end of file
+}
diff --git a/bindings/ocaml/Cargo.toml b/bindings/ocaml/Cargo.toml
index 49e0e12217..09347ade69 100644
--- a/bindings/ocaml/Cargo.toml
+++ b/bindings/ocaml/Cargo.toml
@@ -18,7 +18,7 @@
 [package]
 name = "opendal-ocaml"
 publish = false
-version = "0.0.0+core.0.45.1"
+version = "0.0.0"
 
 authors = ["Apache OpenDAL <[email protected]>"]
 edition = "2021"
diff --git a/bindings/php/Cargo.toml b/bindings/php/Cargo.toml
index fd89e62e6f..4e2f62898d 100644
--- a/bindings/php/Cargo.toml
+++ b/bindings/php/Cargo.toml
@@ -18,7 +18,7 @@
 [package]
 name = "opendal-php"
 publish = false
-version = "0.1.1+core.0.45.1"
+version = "0.1.1"
 
 authors = ["Apache OpenDAL <[email protected]>"]
 edition = "2021"
diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml
index 3fc86ad950..7ed79ab2ce 100644
--- a/bindings/python/Cargo.toml
+++ b/bindings/python/Cargo.toml
@@ -25,7 +25,7 @@ homepage = "https://opendal.apache.org/";
 license = "Apache-2.0"
 repository = "https://github.com/apache/opendal";
 rust-version = "1.67"
-version = "0.45.1+core.0.45.1"
+version = "0.45.1"
 
 [features]
 default = [
diff --git a/bindings/ruby/Cargo.toml b/bindings/ruby/Cargo.toml
index cc21e543e9..49d46686e5 100644
--- a/bindings/ruby/Cargo.toml
+++ b/bindings/ruby/Cargo.toml
@@ -18,7 +18,7 @@
 [package]
 name = "opendal-ruby"
 publish = false
-version = "0.1.1+core.0.45.1"
+version = "0.1.1"
 
 authors = ["Apache OpenDAL <[email protected]>"]
 edition = "2021"
diff --git a/scripts/constants.py b/scripts/constants.py
index 11818229b2..edd16c44f8 100755
--- a/scripts/constants.py
+++ b/scripts/constants.py
@@ -77,7 +77,7 @@ def get_package_version(package):
     # cargo_toml not exists, we should handle case by case ideally.
     #
     # However, those packages are not mature enough, it's much easier for us 
to always return `0.0.0` instead.
-    return f"0.0.0+core.{core_version}"
+    return f"0.0.0"
 
 
 if __name__ == "__main__":

Reply via email to