You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/11/08 05:34:47 UTC

(incubator-opendal) branch update-package created (now 267cd7754)

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

xuanwo pushed a change to branch update-package
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


      at 267cd7754 fix package

This branch includes the following new commits:

     new 267cd7754 fix package

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-opendal) 01/01: fix package

Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 267cd77543d91b2966278044ea7ce6adead30c8c
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Wed Nov 8 13:25:55 2023 +0800

    fix package
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 scripts/release.sh | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/scripts/release.sh b/scripts/release.sh
index 50eebd04a..4090cc7e1 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -38,6 +38,24 @@ mkdir -p dist/
 echo "> Checkout version branch"
 git checkout -B "${git_branch}"
 
+# Please update this part while package list changed.
+echo "> Update Cargo.toml to remove not released members"
+PACKAGES=(
+    "bindings\/c"
+    "bindings\/ruby"
+    "bindings\/haskell"
+    "bindings\/lua"
+    "bindings\/dotnet"
+    "bindings\/ocaml"
+    "bindings\/php"
+    "bindings\/cpp"
+    "bin\/"
+    "integrations\/"
+)
+for package in "${PACKAGES[@]}"; do
+  sed -i "/${package}/d" Cargo.toml
+done
+
 echo "> Start package"
 git archive --format=tar.gz --output="dist/apache-opendal-incubating-$release_version-src.tar.gz" --prefix="apache-opendal-incubating-$release_version-src/" "$git_branch"