Skip to content

Commit

Permalink
Allow download of latest release, even if pre-release (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scitz0 authored Sep 4, 2024
1 parent ab22d82 commit 90e1ca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: SH Linter

on:
push:
branches: [ '*' ]
# push:
# branches: [ '*' ]
# branches: [ master,alpha ]
pull_request:
branches: [ '*' ]
Expand Down
3 changes: 2 additions & 1 deletion scripts/cnode-helper-scripts/guild-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@ download_cardanohwcli() {
rm -rf /tmp/chwcli-bin && mkdir -p /tmp/chwcli-bin
pushd /tmp/chwcli-bin >/dev/null || err_exit
rm -rf cardano-hw-cli*
vchc_asset_url="$(curl -s https://api.github.com/repos/vacuumlabs/cardano-hw-cli/releases/latest | jq -r '.assets[].browser_download_url' | grep '_linux-x64.tar.gz')"
#vchc_asset_url="$(curl -s https://api.github.com/repos/vacuumlabs/cardano-hw-cli/releases/latest | jq -r '.assets[].browser_download_url' | grep '_linux-x64.tar.gz')"
vchc_asset_url="$(curl -s https://api.github.com/repos/vacuumlabs/cardano-hw-cli/releases | jq -r '.[0].assets[].browser_download_url' | grep '_linux-x64.tar.gz')"
if curl -sL -f -m ${CURL_TIMEOUT} -o cardano-hw-cli_linux-x64.tar.gz ${vchc_asset_url}; then
tar zxf cardano-hw-cli_linux-x64.tar.gz &>/dev/null
rm -f cardano-hw-cli_linux-x64.tar.gz
Expand Down

0 comments on commit 90e1ca4

Please sign in to comment.