summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-16 00:07:53 -0600
committerJeff Carr <[email protected]>2024-11-16 00:07:53 -0600
commitcae26ecb18db714e5f7f6b005a2a8179f368de9f (patch)
tree59ddd99ed45ab2affa661d48d65f0c3b1b9e8f3e /main.go
parent9cf14144ed3ab6a7b14553894b2025f2c2b5ce16 (diff)
fix buildv0.22.15
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/main.go b/main.go
index 9580677..d4548b5 100644
--- a/main.go
+++ b/main.go
@@ -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
}