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() {