Add version checking.

This commit is contained in:
2021-05-11 11:54:32 +01:00
parent 2aac0ebd65
commit 195192e6d1
4 changed files with 53 additions and 0 deletions
+1
View File
@@ -234,6 +234,7 @@ func (s *Setup) getSemver() string {
func main() {
if varShowVersion {
checkLatestRelease()
fmt.Println("semver-gen", PKG_VERSION, "\tMore information: https://github.com/lukaszraczylo/semver-generator")
return
}