Change the new release warning

This commit is contained in:
M. Mert Yildiran 2023-05-25 20:42:57 +03:00
parent 2edb987c07
commit a163f9cc0e
No known key found for this signature in database
GPG Key ID: DA5D6DCBB758A461

View File

@ -44,7 +44,7 @@ func CheckNewerVersion() {
} else {
downloadCommand = fmt.Sprintf("sh <(curl -Ls %s/install)", misc.Website)
}
msg := fmt.Sprintf("There is a new release! %v -> %v run:", misc.Ver, latestVersion)
msg := fmt.Sprintf("There is a new release! %v -> %v Please upgrade to the latest release, as new releases are not always backward compatible. Run:", misc.Ver, latestVersion)
log.Warn().Str("command", downloadCommand).Msg(fmt.Sprintf(utils.Yellow, msg))
}
}