still trying to automate releases

This commit is contained in:
Jeff Carr 2024-12-02 08:44:58 -06:00
parent 3895519f25
commit f3803d5929
1 changed files with 17 additions and 0 deletions

17
main.go
View File

@ -29,6 +29,23 @@ func main() {
// may exit
list()
if argv.RedoGoMod {
repos := me.forge.Repos.SortByGoPath()
for repos.Scan() {
repo := repos.Next()
if !repo.IsValid() {
log.Printf("%10s %-50s", "old?", repo.GetGoPath())
continue
}
if me.forge.IsReadOnly(repo.GetGoPath()) {
log.Printf("%10s %-50s", "readonly", repo.GetGoPath())
continue
}
repo.RedoGoMod()
}
os.Exit(0)
}
me.myGui = gui.New()
me.myGui.Default()