version

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReleasesAPI = "https://api.github.com/repos/vegaprotocol/vegawallet/releases"
	ReleasesURL = "https://github.com/vegaprotocol/vegawallet/releases"
)

Variables

View Source
var (
	// VersionHash specifies the git commit used to build the application.
	// See VERSION_HASH in Makefile for details.
	VersionHash = defaultVersionHash

	// Version specifies the version used to build the application.
	// See VERSION in Makefile for details.
	Version = defaultVersion
)

Functions

func Check

func Check(releasesGetterFn vgversion.ReleasesGetter, currentRelease string) (*semver.Version, error)

func IsUnreleased

func IsUnreleased() bool

Types

type GetVersionResponse added in v0.10.0

type GetVersionResponse struct {
	Version string `json:"version"`
	GitHash string `json:"gitHash"`
}

func GetVersionInfo added in v0.10.0

func GetVersionInfo() *GetVersionResponse

Jump to

Keyboard shortcuts

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