diff options
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -4,6 +4,7 @@ package main import ( "embed" "fmt" + "strings" "time" "go.wit.com/log" @@ -38,6 +39,11 @@ func main() { } else { repo.targetVersion.SetText("v" + "0.19.2") } + if strings.HasPrefix(repo.String(), "go.wit.com/dev/") { + lasttag := repo.status.GetLastTagVersion() + repo.targetVersion.SetText(lasttag) + } + // if repo.String() == "go.wit.com/apps/guireleaser" { } log.Info("Creating the Release Window") |
