Skip to content

Commit

Permalink
chore: update release related docs and script (#3870)
Browse files Browse the repository at this point in the history
  • Loading branch information
dqhl76 committed Dec 31, 2023
1 parent d4aab1e commit 835f588
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions website/community/committers/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 835f588

Please sign in to comment.