Documentation
¶
Overview ¶
Package version holds the version of the brigada binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "0.0.0-dev"
Version is reported by `brigada version`. It is overridden at build time with -ldflags "-X github.com/Blackfire-AI/brigada/internal/version.Version=…" (the release workflow sets it to the tag without its leading v); when it is still the default, String resolves the version from the build info.
Functions ¶
func String ¶
func String() string
String returns the version this binary reports: the tag the release workflow set with -ldflags -X, else the tagged module version a `go install …@v1.0.0` recorded in the build info, else 0.0.0-dev+<first 12 characters of the VCS revision>, with modifiedMark appended when the tree was dirty, else 0.0.0-dev.
Types ¶
This section is empty.