diff options
| author | Jeff Carr <[email protected]> | 2025-01-29 19:59:55 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-29 19:59:55 -0600 |
| commit | d493a55cfa5ac1d50c845643b46ee4c12a192dab (patch) | |
| tree | 785ba73aad155b15bbaad9a1466825152ef4e6bb /find.go | |
| parent | bab84d7c903dd53de1cb70cc45a23a5673fa51af (diff) | |
debugging releaser
Diffstat (limited to 'find.go')
| -rw-r--r-- | find.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -17,6 +17,11 @@ func (f *FindCmd) findRepos() { return } + if f.Pub != nil { + findPublishable() + return + } + if f.All { findAll() return @@ -114,6 +119,17 @@ func findUser() { } } +func findPublishable() { + all := me.forge.Repos.SortByFullPath() + for all.Scan() { + repo := all.Next() + if repo.GetTargetVersion() == "" { + continue + } + me.found.AppendByGoPath(repo) + } +} + func findReposWithPatches() { all := me.forge.Repos.SortByFullPath() for all.Scan() { |
