Returns true if the current version is older than the latest.
(current string, latest string)
| 55 | |
| 56 | // Returns true if the current version is older than the latest. |
| 57 | func isOutdated(current string, latest string) bool { |
| 58 | return semver.Compare(current, latest) < 0 |
| 59 | } |
| 60 | |
| 61 | // Returns true if the latest version has a higher major or minor |
| 62 | // number than the current version. If you don't want to force |