move comments to the cmd output widget

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-25 22:59:49 -06:00
parent a80347531e
commit 45e7aab862
2 changed files with 8 additions and 3 deletions

2
git.go
View File

@ -327,7 +327,7 @@ func (rs *RepoStatus) CheckBranches() bool {
log.Log(INFO, hash, output, b)
} else {
log.Warn("UNKNOWN BRANCHES IN THIS REPO")
rs.versionMessage.SetText("UNKNOWN BRANCHES")
rs.versionCmdOutput.SetText("UNKNOWN BRANCHES")
perfect = false
parts := strings.Split(b, "/")
log.Warn("git push", parts)

View File

@ -116,6 +116,11 @@ func (rs *RepoStatus) EnableSelectTag() {
rs.develMerge.SetLabel("ready to release")
// force there to be a commit message
rs.releaseVersion.Disable()
if len(rs.versionMessage.String()) == 0 {
// force there to be a commit message
rs.releaseVersion.Disable()
} else {
rs.generateCmd()
rs.releaseVersion.Enable()
}
}