diff options
| author | Jeff Carr <[email protected]> | 2024-12-02 08:44:58 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-02 08:44:58 -0600 |
| commit | f3803d59294d692c4b0be4ad5cef9ad8116b3797 (patch) | |
| tree | 85e4f34045a81b4c62387eeacda5026940202aae | |
| parent | 3895519f25a603b6b75b54c0d9ad57b7128045ac (diff) | |
still trying to automate releasesv0.22.3
| -rw-r--r-- | main.go | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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() |
