Fix command substitution
Environment Setup Test / Setup (push) Successful in 1m7s
Details
Environment Setup Test / Setup (push) Successful in 1m7s
Details
parent
2442f2eed6
commit
2d3f1806f3
|
@ -2,8 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
download_version=curl -s https://api.github.com/repos/borgbackup/borg/releases/latest | jq -r '.name'
|
||||
download_url=curl -s https://api.github.com/repos/borgbackup/borg/releases/latest | jq -r '.assets | .[] | select(.name == "borg-linux64") | .browser_download_url'
|
||||
download_version=$(curl -s https://api.github.com/repos/borgbackup/borg/releases/latest | jq -r '.name')
|
||||
download_url=$(curl -s https://api.github.com/repos/borgbackup/borg/releases/latest | jq -r '.assets | .[] | select(.name == "borg-linux64") | .browser_download_url')
|
||||
|
||||
echo "Version: $download_version"
|
||||
echo "URL: $download_url"
|
||||
|
|
Loading…
Reference in New Issue