Skip to content

Commit

Permalink
Check valet-plus repository for on-latest-version
Browse files Browse the repository at this point in the history
  • Loading branch information
timneutkens committed Aug 2, 2017
1 parent 85fa942 commit 82475e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/Valet/Valet.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ function extensions()
*/
function onLatestVersion($currentVersion)
{
$response = \Httpful\Request::get('https://api.github.com/repos/laravel/valet/releases/latest')->send();
$response = \Httpful\Request::get('https://api.github.com/repos/weprovide/valet-plus/releases/latest')->send();

return version_compare($currentVersion, trim($response->body->tag_name, 'v'), '>=');
return version_compare($currentVersion, $response->body->tag_name, '>=');
}
}

0 comments on commit 82475e3

Please sign in to comment.