summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-09 19:35:05 -0600
committerJeff Carr <[email protected]>2024-01-09 19:35:05 -0600
commitbe54390fcd3513d0c1a0a57f783e57f5fe8f9816 (patch)
tree69ce2dc69dafcf1a1c5ce315bdfc51aca319e2d8 /draw.go
parentabd9781d8a60ed9695951aa14e3a60275e831f63 (diff)
figure out the version
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/draw.go b/draw.go
index 255d5f3..df1bfe0 100644
--- a/draw.go
+++ b/draw.go
@@ -76,7 +76,8 @@ func draw(rs *RepoStatus) {
rs.releaseVersion = rs.grid.NewButton("release version", func() {
lasttag := rs.lasttag.Get()
- log.Warn("Should release version here", lasttag)
+ ver := normalizeVersion(lasttag)
+ log.Warn("Should release version here", lasttag, ver)
})
rs.releaseVersion.Disable()