mirror of
https://github.com/curl/curl.git
synced 2026-06-13 22:45:37 +03:00
GHA/distcheck: fix parsing the download page
Fixing: ``` curl: (3) URL rejected: Malformed input to a URL function ``` Ref: https://github.com/curl/curl/actions/runs/27370389568/job/80880800780 Refs:1735f6af6ahttps://github.com/curl/curl-www/pull/593 Follow-up to2cc171cbd4#21759 Closes #21977
This commit is contained in:
parent
bcb2890c6f
commit
0cd0a64de4
1 changed files with 1 additions and 1 deletions
2
.github/workflows/distcheck.yml
vendored
2
.github/workflows/distcheck.yml
vendored
|
|
@ -393,7 +393,7 @@ jobs:
|
|||
run: |
|
||||
echo "--- Detecting latest curl tarball version..."
|
||||
curl_version="$(curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused https://curl.se/download.html \
|
||||
| grep -o -E 'curl [0-9]+\.[0-9]+\.[0-9]+' | cut -c 6-)"
|
||||
| grep -o -E 'curl [0-9]+\.[0-9]+\.[0-9]+' | head -n 1 | cut -c 6-)"
|
||||
|
||||
for suffix in .tar.bz2 .tar.gz .tar.xz .zip; do
|
||||
echo "--- Downloading ${curl_version} ${suffix}..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue