Skip to content

Commit 8e6cb7a

Browse files
authored
chore: use auth_header when trying to download release tarball (#310)
1 parent 3947e9c commit 8e6cb7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install-filcrypto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ download_release_tarball() {
123123
-w "%{url_effective}" \
124124
"${__release_url}")
125125

126-
if ! curl --retry 3 --output "${__tar_path}" "${__asset_url}"; then
126+
if ! curl "${auth_header[@]}" --retry 3 --output "${__tar_path}" "${__asset_url}"; then
127127
(>&2 echo "[download_release_tarball] failed to download release asset (tag URL: ${__release_tag_url}, asset URL: ${__asset_url})")
128128
return 1
129129
fi

0 commit comments

Comments
 (0)