From 78a402ebb0ec54de12be8420d24bca21d1218202 Mon Sep 17 00:00:00 2001 From: Felipe Cardozo Date: Sat, 14 Dec 2024 17:56:35 -0300 Subject: [PATCH] chore: fix how check if a package is uploaded --- release-tools/publish-crates.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/release-tools/publish-crates.sh b/release-tools/publish-crates.sh index 3e73fdaee4..4b33d34202 100755 --- a/release-tools/publish-crates.sh +++ b/release-tools/publish-crates.sh @@ -18,7 +18,7 @@ function check_if_crate_uploaded() { local CRATE=$1; # Check for whether the crate was already uploaded to determine if we're good to move forward - tail -1 "$CARGO_OUTPUT_TMP" | grep "already uploaded" > /dev/null + tail -1 "$CARGO_OUTPUT_TMP" | grep "already exists" > /dev/null # If exit code from `grep` is 0 if [[ ${PIPESTATUS[1]} != 0 ]]; @@ -90,4 +90,4 @@ function main() { echo "✅ Crates uploaded: $CRATES_UPLOADED" } -main; \ No newline at end of file +main;