mirror of
https://github.com/curl/curl.git
synced 2026-07-28 17:53:06 +03:00
GHA/distcheck: use https://curl.se/info
Suggested-by: Daniel Stenberg
Ref: https://github.com/curl/curl/pull/21977#issuecomment-4684764838
Follow-up to 0cd0a64de4 #21977
Closes #21978
This commit is contained in:
parent
c37b3982b3
commit
b3bc61ab68
1 changed files with 2 additions and 2 deletions
4
.github/workflows/distcheck.yml
vendored
4
.github/workflows/distcheck.yml
vendored
|
|
@ -392,8 +392,8 @@ jobs:
|
|||
- name: 'download and verify tarballs'
|
||||
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]+' | head -n 1 | cut -c 6-)"
|
||||
curl_version="$(curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused https://curl.se/info \
|
||||
| grep -a1 '^Version:' | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')"
|
||||
|
||||
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