Commit e75ca29
authored
Fix curl status check in release script to handle all non-200 responses (#7455)
Change the curl status check from `== "404"` to `!= "200"` for both
Haddock and Metatheory site validation. This makes the check more
robust by catching all error status codes (403, 404, 500, etc.) and
connection failures (000) rather than only checking for 404.
This ensures the release script correctly identifies when sites are
not accessible, regardless of the specific error code returned.1 parent 8e9a7d9 commit e75ca29
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
374 | | - | |
| 374 | + | |
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| |||
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
383 | | - | |
| 383 | + | |
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
| |||
0 commit comments