Skip to content

Commit

Permalink
fix(ci): correct release check (#18666) (#18739)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel authored Sep 26, 2024
1 parent 83e9be4 commit 0d15632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 0d15632

Please sign in to comment.