about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--xtask/src/publish.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/publish.rs b/xtask/src/publish.rs
index 80453342070..2decd85c18a 100644
--- a/xtask/src/publish.rs
+++ b/xtask/src/publish.rs
@@ -57,7 +57,7 @@ fn update_release(sh: &Shell, tag_name: &str, release_notes: &str) -> Result<()>
 
     let release_json = cmd!(
         sh,
-        "curl -s -H {accept} -H {authorization} -H {api_version} {release_url}/tags/{tag_name}"
+        "curl -sf -H {accept} -H {authorization} -H {api_version} {release_url}/tags/{tag_name}"
     )
     .read()?;
     let release_id = cmd!(sh, "jq .id").stdin(release_json).read()?;
@@ -72,7 +72,7 @@ fn update_release(sh: &Shell, tag_name: &str, release_notes: &str) -> Result<()>
         .bool("prerelease", false);
     let _ = cmd!(
         sh,
-        "curl -s -X PATCH -H {accept} -H {authorization} -H {api_version} {release_url}/{release_id} -d {patch}"
+        "curl -sf -X PATCH -H {accept} -H {authorization} -H {api_version} {release_url}/{release_id} -d {patch}"
     )
     .read()?;