version

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package version holds the version of the brigada binary.

Index

Constants

This section is empty.

Variables

View Source
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.

Jump to

Keyboard shortcuts

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