Skip to content

Commit

Permalink
fix(cherry pick): cherry pick 10287 10325 (#10610)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjw806 authored Jun 28, 2023
1 parent 84281b3 commit 7b4c516
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ fi
echo "--- Install java and maven"
yum install -y java-11-openjdk wget python3
pip3 install toml-cli
wget https://dlcdn.apache.org/maven/maven-3/3.9.1/binaries/apache-maven-3.9.1-bin.tar.gz && tar -zxvf apache-maven-3.9.1-bin.tar.gz
export PATH="${REPO_ROOT}/apache-maven-3.9.1/bin:$PATH"
wget https://dlcdn.apache.org/maven/maven-3/3.9.2/binaries/apache-maven-3.9.2-bin.tar.gz && tar -zxvf apache-maven-3.9.2-bin.tar.gz
export PATH="${REPO_ROOT}/apache-maven-3.9.2/bin:$PATH"
mvn -v

echo "--- Install rust"
Expand All @@ -40,7 +40,7 @@ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip
unzip -q awscliv2.zip && ./aws/install && mv /usr/local/bin/aws /bin/aws

echo "--- Update risingwave release version"
if [[ -n "${BUILDKITE_TAG+x}" ]]; then
if [[ -n "${BUILDKITE_TAG}" ]]; then
toml set --toml-path Cargo.toml workspace.package.version ${BUILDKITE_TAG#*v}
fi

Expand All @@ -58,7 +58,7 @@ elif [[ -n "${BINARY_NAME+x}" ]]; then
aws s3 cp risingwave-${BINARY_NAME}-x86_64-unknown-linux.tar.gz s3://risingwave-nightly-pre-built-binary
fi

if [[ -n "${BUILDKITE_TAG+x}" ]]; then
if [[ -n "${BUILDKITE_TAG}" ]]; then
echo "--- Install gh cli"
yum install -y dnf
dnf install -y 'dnf-command(config-manager)'
Expand Down

0 comments on commit 7b4c516

Please sign in to comment.