pull/429/head
hunterlong 2020-02-25 22:09:34 -08:00
parent 5e1b92a313
commit b0ce98074e
1 changed files with 3 additions and 0 deletions

View File

@ -188,6 +188,9 @@ func updateDisplay() error {
fmt.Printf("Issue connecting to https://github.com/hunterlong/statping\n%v\n", err)
return err
}
if len(gitCurrent.TagName) < 2 {
return nil
}
if VERSION != gitCurrent.TagName[1:] {
fmt.Printf("\nNew Update %v Available!\n", gitCurrent.TagName[1:])
fmt.Printf("Update Command:\n")