fix(ci): remove --fail from curl in poll-upstream version check
Some checks failed
poll-upstream / check (push) Failing after 1s
Some checks failed
poll-upstream / check (push) Failing after 1s
--fail causes curl to exit 22 on HTTP errors before --write-out can capture the response code, breaking the 200/404 branching logic. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,6 @@ jobs:
|
||||
# Strip leading 'v' because RPM versions don't use it.
|
||||
version="${UPSTREAM_TAG#v}"
|
||||
http_response_code=$(curl \
|
||||
--fail \
|
||||
--silent \
|
||||
--write-out "%{http_code}" \
|
||||
--output /dev/null \
|
||||
|
||||
Reference in New Issue
Block a user