more attempts to do a release

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-25 22:47:05 -06:00
parent 44a21ff15b
commit fdf2dd8e68
1 changed files with 12 additions and 5 deletions

View File

@ -25,7 +25,7 @@ type releaseStruct struct {
readOnly *gadgets.OneLiner
notes *gadgets.OneLiner
version *gadgets.OneLiner
reason *gadgets.OneLiner
reason *gadgets.BasicEntry
openrepo *gui.Node
@ -94,6 +94,7 @@ func createReleaseWindow() {
// log.Info("find the next repo to release here")
release.current.status.Toggle()
release.current.status.SetVersion("0", "13", "11", release.reason.String())
})
release.openrepo.Disable()
@ -103,14 +104,14 @@ func createReleaseWindow() {
release.notes = gadgets.NewOneLiner(release.grid, "notes")
release.version = gadgets.NewOneLiner(release.grid, "version")
release.version.SetValue("0.13.11")
release.version.SetText("0.13.11")
release.reason = gadgets.NewOneLiner(release.grid, "reason")
release.reason.SetValue("release automation")
release.reason = gadgets.NewBasicEntry(release.grid, "release reason")
release.reason.SetText("hide works")
release.sendVersionB = release.grid.NewButton("send version", func() {
log.Info("set version()")
release.current.status.SetVersion("0", "13", "11", "release automation")
release.current.status.SetVersion("0", "13", "12", release.reason.String())
})
release.grid.NewButton("set ignore", func() {
tmp := release.current.goSumStatus.String()
@ -275,6 +276,12 @@ func findNextDirty() bool {
log.Info("findNextDirty()", repo.String(), goSumS, dirtyS)
if goSumS == "PRIMATIVE" {
if dirtyS != "PERFECT" {
if setCurrentRepo(repo, "primative not committed", "release new version") {
return true
}
continue
}
continue
}
if goSumS == "IGNORE" {