Documentation
¶
Overview ¶
Package version provides SHA detection and semver comparison helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOutdated ¶
IsOutdated reports whether latest is strictly newer than current. An unparseable latest is never outdated; an unparseable current (branch, raw SHA) is treated as outdated so it surfaces in `gha update`.
func PickLatest ¶
PickLatest returns the highest stable semver tag from the list, preserving the original tag string (e.g. "v4.1.2"). Pre-releases and unparseable tags are ignored. Returns "" when nothing qualifies.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.