Skip to content

Commit

Permalink
tet
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzl25 committed Oct 30, 2023
1 parent 1121e48 commit 72b9138
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@ echo "--- Install aws cli"
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}" ]]; 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}"
echo "BUILDKITE_TAG: ${BUILDKITE_TAG}"
echo "CARGO_PKG_VERSION and BUILDKITE_TAG are not equal"
exit 1
fi
fi
#echo "--- Check risingwave release version"
#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}"
# echo "BUILDKITE_TAG: ${BUILDKITE_TAG}"
# echo "CARGO_PKG_VERSION and BUILDKITE_TAG are not equal"
# exit 1
# fi
#fi

echo "--- Build risingwave release binary"
cargo build -p risingwave_cmd_all --features "rw-static-link" --profile release
Expand Down

0 comments on commit 72b9138

Please sign in to comment.