fix(ci): remove --fail from curl in poll-upstream version check
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:
2026-04-24 10:49:24 +03:00
parent 429bcbccb6
commit c691687d81

View File

@@ -26,7 +26,6 @@ jobs:
# Strip leading 'v' because RPM versions don't use it. # Strip leading 'v' because RPM versions don't use it.
version="${UPSTREAM_TAG#v}" version="${UPSTREAM_TAG#v}"
http_response_code=$(curl \ http_response_code=$(curl \
--fail \
--silent \ --silent \
--write-out "%{http_code}" \ --write-out "%{http_code}" \
--output /dev/null \ --output /dev/null \