diff options
| author | Jeff Carr <[email protected]> | 2025-01-08 02:39:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-08 02:39:30 -0600 |
| commit | 2c71c4a5fec1fd326c748fc67aa693387fc4a4a1 (patch) | |
| tree | d84c264f90ba7e671c96cbfd7c539898355cec1f /doRelease.go | |
| parent | 3d94edd024da17de76cc39078d98bc19e5ef7306 (diff) | |
keep working on why this doesn't work anymore
Diffstat (limited to 'doRelease.go')
| -rw-r--r-- | doRelease.go | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/doRelease.go b/doRelease.go index 2485817..0b3c34d 100644 --- a/doRelease.go +++ b/doRelease.go @@ -9,7 +9,6 @@ import ( "time" "go.wit.com/lib/gui/shell" - "go.wit.com/lib/protobuf/forgepb" "go.wit.com/log" ) @@ -178,22 +177,12 @@ func doRelease() bool { badExit(errors.New(msg)) } - me.forge.ConfigSave() - cmd := []string{"forge", "--delete", check.GetGoPath()} - shell.RunRealtime(cmd) - me.forge = forgepb.Init() + time.Sleep(2 * time.Second) // notsure + check.Reload() // run this each time something gets published successfully rePrepareRelease() - /* - // notsure about this anymore - // update the values in the GUI - if repov := me.repos.View.FindByPath(check.GetGoPath()); repov != nil { - repov.NewScan2(check) - } - */ - // attempt to find another repo to release if !doReleaseFindNext() { log.Info("doReleaseFindNext() could not find a new", findCounter) |
