Skip to content

Commit

Permalink
Add debug info back
Browse files Browse the repository at this point in the history
  • Loading branch information
svenluijten committed Aug 19, 2023
1 parent f87079e commit 846c995
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ download_release() {
arch="$(get_arch)"
platform="$(get_platform | tr '[:upper:]' '[:lower:]')"

echo "** Platform: $platform"
echo "** Arch: $arch"
echo "** Version: $version"

url=$(curl --silent "https://api.github.com/repos/guumaster/hostctl/releases/tags/v${version}" | grep --only-matching --ignore-case --extended-regexp "https://.+?_${platform}_${arch}\.tar\.gz")

echo "* Downloading $TOOL_NAME release $version..."
Expand Down

0 comments on commit 846c995

Please sign in to comment.