Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Name = valueOrFallback(name, func() string { return "abc" }) Version = valueOrFallback(version, buildinfo.Version) Commit = valueOrFallback(commit, buildinfo.Commit) // OSArch is the operating system and architecture combination. OSArch = buildinfo.OSArch() // HumanVersion is the compiled version. HumanVersion = Name + " " + Version + " (" + Commit + ", " + OSArch + ")" )
Functions ¶
func IsReleaseBuild ¶ added in v0.6.0
func IsReleaseBuild() bool
IsReleaseBuild returns true if this binary was built by goreleaser as part of the official release process (as opposed to a user just running "go build", or running in a CI environment, or something else).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.