From 6bc0e1dc97e01f5e0ab1c6008196612f96ee8ad7 Mon Sep 17 00:00:00 2001 From: Alex Villarreal <716334+alexvy86@users.noreply.github.com> Date: Mon, 24 Apr 2023 12:55:13 -0500 Subject: [PATCH] Fix install script --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2e8e0f9..e25eedf 100755 --- a/scripts/install +++ b/scripts/install @@ -132,8 +132,8 @@ sha256() { latest_version_released() { curl -s 'https://api.github.com/repos/denisidoro/navi/releases/latest' \ - | grep -Eo 'releases/tag/v([0-9\.]+)' \ - | sed 's|releases/tag/v||' + | grep -Eo '"html_url": "https://github.com/denisidoro/navi/releases/tag/v([0-9\.]+)' \ + | sed 's|"html_url": "https://github.com/denisidoro/navi/releases/tag/v||' } asset_url() {