fixed #92
This commit is contained in:
parent
5f16aa4644
commit
f63d47f273
@ -22,7 +22,7 @@ class Listener
|
||||
}
|
||||
|
||||
// Do not apply to the same or newer versions
|
||||
if ($event->old >= static::VERSION) {
|
||||
if (version_compare($event->old, static::VERSION, '>=')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ class Versions
|
||||
$releases = json_decode($json);
|
||||
|
||||
foreach ($releases as $release) {
|
||||
if ($release->tag_name <= version('short')) {
|
||||
if (version_compare($release->tag_name, version('short'), '<=')) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user