We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3719c2d commit 59756afCopy full SHA for 59756af
1 file changed
bin/release.sh
@@ -67,8 +67,16 @@ if [ -z "$RUN_ID" ]; then
67
echo "Error: Could not find release workflow run for $TAG"
68
exit 1
69
fi
70
-gh run watch "$RUN_ID" --exit-status
71
-echo "==> Release workflow completed."
+if gh run watch "$RUN_ID" --exit-status; then
+ echo "==> Release workflow completed."
72
+else
73
+ echo "==> Release workflow had failures (this is expected if crates.io was already published)."
74
+ echo " Verify the GitHub release assets exist before continuing."
75
+ read -r -p " Continue? [y/N] " response
76
+ if [[ ! "$response" =~ ^[Yy]$ ]]; then
77
+ exit 1
78
+ fi
79
+fi
80
81
# Download CLI tarballs and compute SHA256s
82
echo "==> Computing SHA256 checksums..."
0 commit comments