upgrade

package
v3.4.4-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MPL-2.0 Imports: 10 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsPlugin = "false"

Functions

func CheckForNewerVersion

func CheckForNewerVersion() (string, error)

CheckForNewerVersion checks if there is a newer version on github and returns the newer version

func GetVersion

func GetVersion() string

GetVersion returns the application version

func NewerVersionAvailable

func NewerVersionAvailable() string

NewerVersionAvailable checks if there is a newer version of loft

func PrintNewerVersionWarning

func PrintNewerVersionWarning()

func SetVersion

func SetVersion(verText string) error

SetVersion sets the application version

func Upgrade

func Upgrade(flagVersion string, log log.Logger) error

Upgrade downloads the latest release from github and replaces loft if a new version is found

Types

This section is empty.

Jump to

Keyboard shortcuts

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