cli: consolidate output and table rendering

This commit is contained in:
Kristoffer Dalby
2026-06-16 12:07:36 +00:00
parent 0b7c8aa270
commit b56326427c
5 changed files with 43 additions and 53 deletions
+1 -7
View File
@@ -120,13 +120,7 @@ func filterPreReleasesIfStable(versionFunc func() string) func(string) bool {
}
// If we are on a stable release, filter out pre-releases.
for _, ignore := range prereleases {
if strings.Contains(tag, ignore) {
return true
}
}
return false
return isPreReleaseVersion(tag)
}
}