Skip to content

Commit

Permalink
Update install-arturo
Browse files Browse the repository at this point in the history
  • Loading branch information
drkameleon authored Oct 10, 2024
1 parent 3731e4f commit 7a80648
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/install-arturo
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

function download_nightly() {
local install_dir="${1}"
local install_file="${install_dir}/arturo-full.tar.gz"
local install_file="${install_dir}/arturo-full.zip"
local repo="arturo-lang/nightly"

tag=$(gh release view --repo "${repo}" --json tagName --jq '.tagName')
gh release download --repo "${repo}" --pattern '*-full.tar.gz' --output "${install_file}" --skip-existing "${tag}"
gh release download --repo "${repo}" --pattern '*-full.zip' --output "${install_file}" --skip-existing "${tag}"

tar -xzf "${install_file}" -C "${install_dir}"
unzip -q "${install_file}" -d "${install_dir}"
rm -f "${install_file}"
}

Expand Down

0 comments on commit 7a80648

Please sign in to comment.