mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 12:30:41 +01:00
Fix #136
This commit is contained in:
parent
b4cab16fda
commit
c179b38d10
@ -103,7 +103,7 @@ func CheckUpdate(version string) error {
|
||||
|
||||
UpdateAvailable = nil
|
||||
if (*releases[0].TagName)[1:] != version {
|
||||
UpdateAvailable = &releases[0]
|
||||
UpdateAvailable = releases[0]
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user