Skip to content

Commit

Permalink
Merge pull request #1037 from ehuss/fix-publish
Browse files Browse the repository at this point in the history
Fix publish not following redirect
  • Loading branch information
ehuss committed Mar 19, 2024
2 parents a7f2ac4 + 389a06f commit 04427a3
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 04427a3

Please sign in to comment.