Skip to content

Commit

Permalink
release originale
Browse files Browse the repository at this point in the history
  • Loading branch information
Martino Pizzol committed Mar 13, 2024
1 parent 8164393 commit 8a2bd6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/download
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source "${plugin_dir}/lib/utils.bash"

mkdir -p "$ASDF_DOWNLOAD_PATH"
# TODO: Adapt this to proper extension and adapt extracting strategy.
release_file="$ASDF_DOWNLOAD_PATH/$ASDF_INSTALL_VERSION/$TOOL_NAME.tar.gz"
release_file="$ASDF_DOWNLOAD_PATH/$TOOL_NAME-$ASDF_INSTALL_VERSION.tar.gz"

# Download tar.gz file to the download directory
download_release "$ASDF_INSTALL_VERSION" "$release_file"
Expand Down
2 changes: 2 additions & 0 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ download_release() {

# TODO: Adapt the release URL convention for process-compose
#https://github.com/F1bonacc1/process-compose/releases/download/v0.88.0/process-compose_linux_arm.tar.gz
#https://github.com/F1bonacc1/process-compose/releases/download/v0.88.0/process-compose_darwin_arm64.tar.gz
#https://github.com/F1bonacc1/process-compose/releases/download/v0.88.0/process-compose_darwin_arm64.tar.gz
url="$GH_REPO/releases/download/v${version}/process-compose_$(get_arch)_$(get_cpu).tar.gz"

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

0 comments on commit 8a2bd6c

Please sign in to comment.