File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ install_bun() {
2929}
3030
3131get_latest_release () {
32- echo " Fetching latest release information..."
3332 curl -s " https://api.github.com/repos/${REPO_OWNER} /${REPO_NAME} /tags" | \
3433 grep ' "name":' | \
3534 head -1 | \
@@ -44,12 +43,14 @@ download_and_extract() {
4443 mkdir -p " $TEMP_DIR "
4544
4645 local tarball_url=" https://api.github.com/repos/${REPO_OWNER} /${REPO_NAME} /tarball/refs/tags/${tag} "
46+ echo " Downloading from $tarball_url "
4747 curl -L -o " $TEMP_DIR /release.tar.gz" " $tarball_url "
4848
4949 cd " $TEMP_DIR "
5050 tar -xzf release.tar.gz --strip-components=1
5151}
5252
53+ echo " Fetching latest release information..."
5354LATEST_TAG=$( get_latest_release)
5455if [ -z " $LATEST_TAG " ]; then
5556 echo " ❌ Error: Could not fetch latest release information."
You can’t perform that action at this time.
0 commit comments