Skip to content

Commit

Permalink
remove --limit 1
Browse files Browse the repository at this point in the history
Signed-off-by: Zeke Foppa <[email protected]>
  • Loading branch information
bfops authored Jan 27, 2025
1 parent 3062e44 commit d327baa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/publish-crates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ for crate in "${CRATES[@]}"; do
[[ $ALLOW_DIRTY -eq 1 ]] && PUBLISH_CMD+=" --allow-dirty"

# Check if crate exists on crates.io
if ! cargo search "$crate" --limit 1 | grep -q "^$crate ="; then
if ! cargo search "$crate" | grep -q "^$crate ="; then
IS_NEW_CRATE=1
echo "INFO: Detected $crate as a new crate on crates.io!"
else
Expand Down

0 comments on commit d327baa

Please sign in to comment.