diff options
Diffstat (limited to 'addRepo.go')
| -rw-r--r-- | addRepo.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -67,19 +67,17 @@ func (c *controlBox) addRepo(path string) { cbname := c.status.GetCurrentBranchName() cbversion := c.status.GetCurrentBranchVersion() - debversion := strings.TrimPrefix(cbversion, "v") + debversion := c.status.DebianCurrentVersion() if c.status.CheckDirty() { c.dirtyL.SetText("true") - debversion = debversion + "-dirty" } else { c.dirtyL.SetText("false") } lasttag := c.status.GetLastTagVersion() if args.Release { - debversion = lasttag - debversion = strings.TrimPrefix(debversion, "v") + debversion = c.status.DebianReleaseVersion() c.dirtyL.SetText("false") } |
