move comments to the cmd output widget
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
a80347531e
commit
45e7aab862
2
git.go
2
git.go
|
@ -327,7 +327,7 @@ func (rs *RepoStatus) CheckBranches() bool {
|
||||||
log.Log(INFO, hash, output, b)
|
log.Log(INFO, hash, output, b)
|
||||||
} else {
|
} else {
|
||||||
log.Warn("UNKNOWN BRANCHES IN THIS REPO")
|
log.Warn("UNKNOWN BRANCHES IN THIS REPO")
|
||||||
rs.versionMessage.SetText("UNKNOWN BRANCHES")
|
rs.versionCmdOutput.SetText("UNKNOWN BRANCHES")
|
||||||
perfect = false
|
perfect = false
|
||||||
parts := strings.Split(b, "/")
|
parts := strings.Split(b, "/")
|
||||||
log.Warn("git push", parts)
|
log.Warn("git push", parts)
|
||||||
|
|
|
@ -116,6 +116,11 @@ func (rs *RepoStatus) EnableSelectTag() {
|
||||||
|
|
||||||
rs.develMerge.SetLabel("ready to release")
|
rs.develMerge.SetLabel("ready to release")
|
||||||
|
|
||||||
|
if len(rs.versionMessage.String()) == 0 {
|
||||||
// force there to be a commit message
|
// force there to be a commit message
|
||||||
rs.releaseVersion.Disable()
|
rs.releaseVersion.Disable()
|
||||||
|
} else {
|
||||||
|
rs.generateCmd()
|
||||||
|
rs.releaseVersion.Enable()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue