Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix how check if a package is uploaded #4302

Merged
merged 1 commit into from
Dec 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions release-tools/publish-crates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]];
Expand Down Expand Up @@ -90,4 +90,4 @@ function main() {
echo "✅ Crates uploaded: $CRATES_UPLOADED"
}

main;
main;
Loading