summaryrefslogtreecommitdiff
path: root/findNext.go
diff options
context:
space:
mode:
Diffstat (limited to 'findNext.go')
-rw-r--r--findNext.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/findNext.go b/findNext.go
index 34552f4..c3ca8b5 100644
--- a/findNext.go
+++ b/findNext.go
@@ -28,7 +28,7 @@ func findNext() bool {
log.Info("boo, you didn't git clone", repo.GetGoPath())
return false
}
- if check.GetTargetVersion() == check.GetCurrentBranchVersion() {
+ if check.GetLastTag() == check.GetTargetVersion() {
// log.Info("findNext() no update needed", check.GetGoPath, check.GetTargetVersion(), "vs", check.GetCurrentBranchVersion())
continue
} else {