Skip to content

Commit f78098b

Browse files
authored
fix(cherry-pick): cherry pick 10287 10325 (#10568)
1 parent 55e4f51 commit f78098b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/scripts/release.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ fi
1313
echo "--- Install java and maven"
1414
yum install -y java-11-openjdk wget python3
1515
pip3 install toml-cli
16-
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
17-
export PATH="${REPO_ROOT}/apache-maven-3.9.1/bin:$PATH"
16+
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
17+
export PATH="${REPO_ROOT}/apache-maven-3.9.2/bin:$PATH"
1818
mvn -v
1919

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

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

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

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

0 commit comments

Comments
 (0)