diff options
| author | Jeff Carr <[email protected]> | 2024-11-13 17:23:33 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-13 17:23:33 -0600 |
| commit | fcd132c109ed4f1ecf4348a6fdc85092973fbb97 (patch) | |
| tree | 72791ca0ff59f39880576cb35c89b13f1b3b7f98 /releaseBox.go | |
| parent | 250a96c49f0d4d56362be4aa02f74b6b63b4495a (diff) | |
code cleanup
Diffstat (limited to 'releaseBox.go')
| -rw-r--r-- | releaseBox.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/releaseBox.go b/releaseBox.go index 8a430f1..7604236 100644 --- a/releaseBox.go +++ b/releaseBox.go @@ -170,6 +170,16 @@ func createReleaseBox(box *gui.Node) { group = me.release.box.NewGroup("experimental and potentially dangerous stuff") grid = group.NewGrid("buildOptions", 0, 0) + me.setBranchesToMasterB = grid.NewButton("set all branches to master", func() { + me.Disable() + defer me.Enable() + if setAllBranchesToMaster() { + // if it succeeds, disable this button + me.setBranchesToMasterB.Disable() + } + }) + grid.NextRow() + grid.NewButton("git ls-files |grep go.mod", func() { for _, repo := range me.repos.View.AllRepos() { log.Info("repo:", repo.Name()) |
