diff options
| author | Jeff Carr <[email protected]> | 2024-02-02 17:04:57 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-02 17:04:57 -0600 |
| commit | bf9cb7c4186b47fca840558318b906abf8394a68 (patch) | |
| tree | 549e82b43fe48d53444983a6c1a5544019a90b22 /main.go | |
| parent | 8e6a40c4bdeb6b8634101d81dd1c64c3bba0272c (diff) | |
switch repo
Signed-off-by: Jeff Carr <[email protected]>
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") |
