Documentation
¶
Overview ¶
Package version is the one source of Planck's version. scripts/version.sh reads Version from this file, and the release workflow requires the tag to be v<Version>. Release builds set Commit and BuildDate with -ldflags -X.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildDate = ""
var Commit = "dev"
var OfficialBuild = ""
OfficialBuild is "1" in release builds (-ldflags -X ...version.OfficialBuild=1): their telemetry counts as a release, not as test signals.
var Version = "0.1.0"
Functions ¶
func Full ¶
func Full() string
Full is the version with the commit and build date it was built from.
func IsOfficialBuild ¶
func IsOfficialBuild() bool
IsOfficialBuild reports whether this is a release build.
Types ¶
This section is empty.