This commit is contained in:
Alexander Gehrke 2023-02-13 18:08:13 +01:00
parent cfcdf95814
commit 5b0216753e
5 changed files with 5 additions and 4 deletions

View file

@ -4,7 +4,7 @@ versions=$(curl -L https://api.github.com/repos/lihaoyi/Ammonite/releases/latest
download-version() {
(
echo "#/usr/bin/env python --version sh" && \
curl -L $( echo $versions \
curl -L $( echo -E $versions \
| jq -r ".assets | map(select(.name | startswith(\"$1\")))[0].browser_download_url")
) > $2
chmod +x $2