mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-07-08 04:14:32 +00:00
Add binary autoupdate.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user