diff --git a/ci/scripts/release.sh b/ci/scripts/release.sh index 21d73e39713f0..c5013314fc543 100755 --- a/ci/scripts/release.sh +++ b/ci/scripts/release.sh @@ -113,7 +113,7 @@ if [[ -n "${BUILDKITE_TAG}" ]]; then if [ "${SKIP_RELEASE}" -ne 1 ]; then echo "--- Release create" set +e - response=$(gh api repos/risingwavelabs/risingwave/releases/tags/"${BUILDKITE_TAG}" 2>&1) + response=$(gh release view -R risingwavelabs/risingwave "${BUILDKITE_TAG}" 2>&1) set -euo pipefail if [[ $response == *"not found"* ]]; then echo "Tag ${BUILDKITE_TAG} does not exist. Creating release..."