Commit 43ff9c03 authored by laser's avatar laser
Browse files

feat(tarball): always download release tarball

parent c6682d93
......@@ -24,7 +24,6 @@ download_release_tarball() {
__tar_path="/tmp/${__release_name}_$(basename ${__release_url}).tar.gz"
if [[ ! -f "${__tar_path}" ]]; then
__asset_url=$(curl \
--head \
--retry 3 \
......@@ -39,7 +38,6 @@ download_release_tarball() {
(>&2 echo "failed to download release asset (tag URL: ${__release_tag_url}, asset URL: ${__asset_url})")
return 1
fi
fi
eval $__resultvar="'$__tar_path'"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment