diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aaba414..43e7e6b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,6 @@ jobs: os: - ubuntu-latest - macos-latest - - windows-latest runs-on: ${{ matrix.os }} steps: - name: asdf_plugin_test diff --git a/bin/download b/bin/download index 80abb60..7134d77 100755 --- a/bin/download +++ b/bin/download @@ -16,7 +16,7 @@ release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.tar.gz" download_release "$ASDF_INSTALL_VERSION" "$release_file" # Extract contents of tar.gz file into the download directory -tar -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" --strip-components=1 || fail "Could not extract $release_file" +tar --verbose --verbose -xzf "$release_file" -C "$ASDF_DOWNLOAD_PATH" || fail "Could not extract $release_file" # Remove the tar.gz file since we don't need to keep it rm "$release_file" diff --git a/lib/utils.bash b/lib/utils.bash index b5a090b..b6cb7ad 100644 --- a/lib/utils.bash +++ b/lib/utils.bash @@ -70,8 +70,6 @@ download_release() { arch="$(get_arch)" platform="$(get_platform)" - url="$GH_REPO/archive/v${version}.tar.gz" - url=$(curl -s "https://api.github.com/repos/guumaster/hostctl/releases/tags/v${version}" | grep -o -E "https://.+?_${platform,,}_${arch}.tar.gz") echo "* Downloading $TOOL_NAME release $version..."