diff --git a/scripts/mac_installer/create_installer.sh b/scripts/mac_installer/create_installer.sh index b35fd93fe..bf594f4bd 100755 --- a/scripts/mac_installer/create_installer.sh +++ b/scripts/mac_installer/create_installer.sh @@ -48,7 +48,7 @@ function build_installer() { fi # fetch skywire binaries from last release - download_url=$(eval curl https://api.github.com/repos/skycoin/skywire/releases | jq '.[0].assets[] | select(.name|match("darwin-'${go_arch}'.tar.gz")) | .browser_download_url') + download_url=$(eval curl --url https://api.github.com/repos/skycoin/skywire/releases --header 'authorization: Bearer $GITHUB_TOKEN' | jq '.[0].assets[] | select(.name|match("darwin-'${go_arch}'.tar.gz")) | .browser_download_url') wget ${download_url:1:$((${#download_url} - 2))} -O - | tar -xz if [ -d ${installer_build_dir}/binaries/Skywire.app ]; then