From 504cd29dcbf63bf63bcacb63cfc76238c6f7e814 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 2 Feb 2024 00:02:53 -0600 Subject: store target version in the repolist Signed-off-by: Jeff Carr --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index d0bfaec..35bacc1 100644 --- a/main.go +++ b/main.go @@ -32,6 +32,12 @@ func main() { for _, repo := range me.allrepos { repo.status.UpdateCurrent() repo.newScan() + + if repo.String() == "go.wit.com/widget" { + repo.targetVersion.SetText("v" + "1.1.14") + } else { + repo.targetVersion.SetText("v" + "0.19.1") + } } log.Info("Creating the Release Window") -- cgit v1.2.3