diff options
| author | Jeff Carr <[email protected]> | 2024-11-16 00:07:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-16 00:07:53 -0600 |
| commit | cae26ecb18db714e5f7f6b005a2a8179f368de9f (patch) | |
| tree | 59ddd99ed45ab2affa661d48d65f0c3b1b9e8f3e /main.go | |
| parent | 9cf14144ed3ab6a7b14553894b2025f2c2b5ce16 (diff) | |
fix buildv0.22.15
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 } |
