Skip to content

Commit

Permalink
Fix publish not following redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Mar 19, 2024
1 parent a7f2ac4 commit 389a06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function publish {

# Check crates.io if it is already published
set +e
output=`curl --fail --silent --head https://crates.io/api/v1/crates/$crate_name/$version/download`
output=`curl --fail --silent --head --location https://static.crates.io/crates/$crate_name/$version/download`
res="$?"
set -e
case $res in
Expand Down

0 comments on commit 389a06f

Please sign in to comment.