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/12/31 03:44:16 UTC

(incubator-opendal) branch main updated: chore: update release related docs and script (#3870)

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 835f58818 chore: update release related docs and script (#3870)
835f58818 is described below

commit 835f588180522df33842fa619744f57cd3034c5a
Author: Liuqing Yue <dq...@gmail.com>
AuthorDate: Sun Dec 31 11:44:11 2023 +0800

    chore: update release related docs and script (#3870)
---
 scripts/release.sh                      | 7 ++++++-
 website/community/committers/release.md | 3 +--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/scripts/release.sh b/scripts/release.sh
index 94ec586ea..2217047d7 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -53,7 +53,12 @@ PACKAGES=(
     "integrations\/"
 )
 for package in "${PACKAGES[@]}"; do
-  sed -i "/${package}/d" Cargo.toml
+  if [[ "$OSTYPE" == "darwin"* ]]; then
+    # macOS system sed usage is different from others
+    sed -i '' "/${package}/d" Cargo.toml
+  else
+    sed -i "/${package}/d" Cargo.toml
+  fi
 done
 
 echo "> Start package"
diff --git a/website/community/committers/release.md b/website/community/committers/release.md
index 2db0f9681..6b457beac 100644
--- a/website/community/committers/release.md
+++ b/website/community/committers/release.md
@@ -158,8 +158,7 @@ After bump version PR gets merged, we can create a GitHub release for the releas
 
 - Create a tag at `main` branch on the `Bump Version` / `Patch up version` commit: `git tag -s "v0.36.0-rc.1"`, please correctly check out the corresponding commit instead of directly tagging on the main branch.
 - Push tags to GitHub: `git push --tags`.
-- Create Release on the newly created tag
-    - If there are breaking changes, please add the content from `upgrade.md` before.
+
 
 :::note