still trying to automate releases
This commit is contained in:
parent
3895519f25
commit
f3803d5929
17
main.go
17
main.go
|
@ -29,6 +29,23 @@ func main() {
|
||||||
// may exit
|
// may exit
|
||||||
list()
|
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 = gui.New()
|
||||||
me.myGui.Default()
|
me.myGui.Default()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue