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;