diff options
| author | Jeff Carr <[email protected]> | 2024-02-18 15:09:48 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-18 15:09:48 -0600 |
| commit | 1bafc298d3b37ca863ce58aba43c65081766f127 (patch) | |
| tree | 7eb6e7486fea0518ab9abb2a9944f57e655b9a02 /common.go | |
| parent | 6a6ebf78b829e4de858a1d1fb6d779af8e493954 (diff) | |
guireleaser runs again
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 29 |
1 files changed, 26 insertions, 3 deletions
@@ -14,12 +14,12 @@ func (rs *RepoStatus) Changed() (string, bool) { return "", false } - return rs.Changes(), rs.changed + return rs.getChanges(), rs.changed } // keeps a human readable list of things that have -// changed -func (rs *RepoStatus) Changes() string { +// changed. todo: timestampe these? +func (rs *RepoStatus) getChanges() string { return rs.changes } @@ -165,3 +165,26 @@ func (rs *RepoStatus) Build() bool { log.Warn("build failed", name) return false } + +func (rs *RepoStatus) GetGoSumStatus() string { + return rs.goSumStatus.String() +} + +func (rs *RepoStatus) SetGoSumStatus(s string) { + rs.goSumStatus.SetText(s) +} + +func (rs *RepoStatus) GetTargetVersion() string { + return rs.targetReleaseVersion.String() +} + +func (rs *RepoStatus) IncrementVersion() bool { + return rs.setTag() +} + +// TODO: run this through the sanity check! +func (rs *RepoStatus) SetTargetVersion(s string) { + // todo: redo setTag to do increment logic + // func (rs *RepoStatus) setTag() bool { + rs.targetReleaseVersion.SetText(s) +} |
