Update tools.func
This commit is contained in:
parent
b28641a91f
commit
2579987fc5
@ -779,7 +779,7 @@ function fetch_and_deploy_gh_release() {
|
||||
tmpdir=$(mktemp -d) || return 1
|
||||
local filename="" url=""
|
||||
|
||||
msg_info "Setup $app ($version)"
|
||||
msg_info "Fetching $app release ($version)"
|
||||
|
||||
if [[ "$mode" == "tarball" || "$mode" == "source" ]]; then
|
||||
url=$(echo "$json" | jq -r '.tarball_url // empty')
|
||||
@ -921,7 +921,7 @@ function fetch_and_deploy_gh_release() {
|
||||
fi
|
||||
|
||||
echo "$version" >"$version_file"
|
||||
msg_ok "Setup $app ($version)"
|
||||
msg_ok "Fetched $app release ($version)"
|
||||
rm -rf "$tmpdir"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user