summaryrefslogtreecommitdiff
path: root/doGui.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-22 19:11:42 -0600
committerJeff Carr <[email protected]>2025-02-22 19:11:42 -0600
commit2856d88b1254f51770f94d903396ca45f5389e41 (patch)
treed9bde80274a41433b3e1fc9e809180543aa229f1 /doGui.go
parentfd410590876032f703ee3f8bc0dea1ebfb4b7045 (diff)
try merge to master alsov0.22.98v0.22.97
Diffstat (limited to 'doGui.go')
-rw-r--r--doGui.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/doGui.go b/doGui.go
index 6ab9420..203b555 100644
--- a/doGui.go
+++ b/doGui.go
@@ -254,6 +254,14 @@ func drawWindow(win *gadgets.BasicWindow) {
// log.Info(strings.Join(r.Stderr, "\n"))
return
}
+ if repo.CheckoutMaster() {
+ log.Info("checkout master failed", repo.GetGoPath())
+ return
+ }
+ if _, err := repo.MergeToMaster(); err != nil {
+ log.Info("merge from devel failed", repo.GetGoPath(), err)
+ return
+ }
}
})