version

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version is the version of the encore binary. It is set using `go build -ldflags "-X encr.dev/internal/version.Version=v1.2.3"`.

Functions

func ConfigHash

func ConfigHash() (string, error)

ConfigHash reports a hash of the configuration that affects the behavior of the daemon. It is used to decide whether to restart the daemon.

Types

type ReleaseChannel added in v1.9.3

type ReleaseChannel string
const (
	GA       ReleaseChannel = "ga"      // A general availability release of Encore in Semver: v1.10.0
	Nightly  ReleaseChannel = "nightly" // A nightly build of Encore with the date of the build: nightly-20221231
	DevBuild ReleaseChannel = "devel"   // A development build of Encore with the commit of the build: devel-0140ab0f78fd10d52673a961e900993b64b7b9e3

)
var Channel ReleaseChannel

Channel tells us which ReleaseChannel this build of Encore is under

Jump to

Keyboard shortcuts

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