Skip to content

Commit

Permalink
Fix Error: Process completed with exit code 8.
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed May 26, 2024
1 parent d9d6fbb commit a371510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stage-honeypi/01-install-honeypi/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ get_latest_release() {
local stable=$2
echo "Fetching latest release for $repo"
if [ "$stable" -eq 1 ]; then
echo "$(curl --silent "https://api.github.com/repos/$repo/releases/latest" -k | grep -Po '"tag_name": "\K.*?(?=")')"
curl --silent "https://api.github.com/repos/$repo/releases/latest" -k | grep -Po '"tag_name": "\K.*?(?=")'
else
echo "$(curl --silent "https://api.github.com/repos/$repo/tags" -k | grep -Po '"name": "\K.*?(?=")' | head -1)"
curl --silent "https://api.github.com/repos/$repo/tags" -k | grep -Po '"name": "\K.*?(?=")' | head -1
fi
}

Expand Down

0 comments on commit a371510

Please sign in to comment.