Add binary autoupdate.

This commit is contained in:
2021-05-15 17:34:50 +01:00
parent 7608d2bc50
commit 29ad85b62a
7 changed files with 92 additions and 12 deletions
+3
View File
@@ -242,6 +242,9 @@ func main() {
fmt.Println("semver-gen", PKG_VERSION, "", outdatedMsg, "\tMore information: https://github.com/lukaszraczylo/semver-generator")
return
}
if varUpdate {
updatePackage()
}
if repo.Generate {
err := repo.ReadConfig(repo.LocalConfigFile)
if err != nil {