summaryrefslogtreecommitdiff
path: root/find.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-15 18:55:35 -0600
committerJeff Carr <[email protected]>2025-02-15 18:55:35 -0600
commit6c6815c727168bacff89e65072864182b5383245 (patch)
tree177a8861bcdd5cb648540e74970c1b14a55b94ae /find.go
parent23c730cd859cea5c6578166386723b5e26b41ada (diff)
found a weird defectv0.22.82
Diffstat (limited to 'find.go')
-rw-r--r--find.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/find.go b/find.go
index cf89e55..493e3cc 100644
--- a/find.go
+++ b/find.go
@@ -151,5 +151,15 @@ func findReposWithPatches() {
me.found.AppendByGoPath(repo)
continue
}
+
+ // this is an old test to see if the current 'last tag' is accurate and should be removed
+ if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
+ continue
+ }
+ if repo.GetLastTag() != repo.GetMasterVersion() {
+ me.found.AppendByGoPath(repo)
+ repo.FindLastTag()
+ continue
+ }
}
}