update

package
v0.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAlreadyLatest = errors.New("already at latest version")

Functions

func Do

func Do(current string) (string, error)

Do fetches the latest release and applies it in place. Returns the new version tag on success, ErrAlreadyLatest if already current.

func LatestTag

func LatestTag() (string, error)

LatestTag returns the latest release tag from GitHub without applying anything.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL