Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchLatestTag ¶
FetchLatestTag returns the tag_name of the latest GitHub release.
func MaybeUpdateNotice ¶
MaybeUpdateNotice returns a short user-facing line when the installed version is behind the latest GitHub release. Checks the network at most once per checkInterval; otherwise uses the cached latest tag.
func RecordAppliedVersion ¶
func RecordAppliedVersion(tag string)
RecordAppliedVersion updates the local cache after a successful self-update so we do not nag until the next release (or until the cache TTL refreshes).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.