diff options
Diffstat (limited to 'update.go')
| -rw-r--r-- | update.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -17,7 +17,8 @@ func (rs *RepoStatus) Update() { // store the current checked out branch name and version rs.checkCurrentBranchName() - rs.checkCurrentBranchVersion() + out := rs.pb.GetCurrentVersion() + rs.currentVersion.SetValue(out) // read in the tags rs.populateTags() @@ -25,8 +26,9 @@ func (rs *RepoStatus) Update() { // record if the repo is dirty pb.CheckDirty() - // store the last tag version - rs.setLastTagVersion() + // display the last tag version + name := rs.pb.GetLastTagVersion() + rs.lasttag.SetText(name) // store the master branch version ver := pb.GetMasterVersion() |
