Skip to content

Commit 04427a3

Browse files
authored
Merge pull request #1037 from ehuss/fix-publish
Fix publish not following redirect
2 parents a7f2ac4 + 389a06f commit 04427a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ci/publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function publish {
1818

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

0 commit comments

Comments
 (0)