summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-02 17:04:57 -0600
committerJeff Carr <[email protected]>2024-02-02 17:04:57 -0600
commitbf9cb7c4186b47fca840558318b906abf8394a68 (patch)
tree549e82b43fe48d53444983a6c1a5544019a90b22 /main.go
parent8e6a40c4bdeb6b8634101d81dd1c64c3bba0272c (diff)
switch repo
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index 8565e87..0dee052 100644
--- a/main.go
+++ b/main.go
@@ -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")