diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -115,7 +115,9 @@ func main() { // find myself. the guireleaser directory is used as a working scratchpad // for running go commands that can mess up the go.* files - for _, repo := range me.repos.View.AllRepos() { + loop := me.repos.View.ReposSortByName() + for loop.Scan() { + repo := loop.Repo() if repo.GoPath() == "go.wit.com/apps/guireleaser" { if me.release.guireleaser == nil { me.release.guireleaser = repo @@ -146,7 +148,9 @@ func main() { // to the master branch func setAllBranchesToMaster() bool { var worked bool = true - for _, repo := range me.repos.View.AllRepos() { + loop := me.repos.View.ReposSortByName() + for loop.Scan() { + repo := loop.Repo() if repo.ReadOnly() { continue } |
