Skip to content

Commit

Permalink
fix(ci): fix release script (#10325)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangjw806 authored Jun 14, 2023
1 parent 86f734c commit 8eb0e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 "--- Check risingwave release version"
if [[ -n "${BUILDKITE_TAG+x}" ]]; then
if [[ -n "${BUILDKITE_TAG}" ]]; then
CARGO_PKG_VERSION="$(toml get --toml-path Cargo.toml workspace.package.version)"
if [[ "${CARGO_PKG_VERSION}" != "${BUILDKITE_TAG#*v}" ]]; then
echo "CARGO_PKG_VERSION: ${CARGO_PKG_VERSION}"
Expand All @@ -64,7 +64,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 8eb0e43

Please sign in to comment.