diff --git a/scripts/release.sh b/scripts/release.sh index 94ec586ea5d0..2217047d732e 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 2db0f9681c38..6b457beacbc9 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