mirror of
https://github.com/curl/curl.git
synced 2026-06-19 09:35:38 +03:00
GHA/distcheck: switch to parse info.json
Refs:c569aaa161https://github.com/curl/curl-www/pull/596 Follow-up tob3bc61ab68#21978 Closes #21988
This commit is contained in:
parent
8664a9f378
commit
fb2441294e
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/info \
|
||||
| grep -a1 '^Version:' | grep -o -E '[0-9]+\.[0-9]+\.[0-9]+')"
|
||||
curl_version="$(curl --disable --fail --silent --show-error --connect-timeout 15 --max-time 60 --retry 3 --retry-connrefused https://curl.se/info.json \
|
||||
| jq --raw-output .Version)"
|
||||
|
||||
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