version

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Version is the current version of maestro.
	// Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.Version=1.2.3
	Version = "dev"

	// Commit is the git commit hash.
	// Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.Commit=abc123
	Commit = "none"

	// Date is the build date.
	// Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.Date=2025-01-15
	Date = "unknown"

	// BuiltBy indicates who/what built the binary.
	// Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.BuiltBy=goreleaser
	BuiltBy = "unknown"
)

Functions

func GetContainerImage

func GetContainerImage() string

GetContainerImage returns the appropriate container image for this version. Production builds use version-tagged images for reproducibility. Development builds use :latest for rapid iteration.

func Info

func Info() string

Info returns formatted version information for display.

func IsDevelopment

func IsDevelopment() bool

IsDevelopment returns true if this is a development build.

func Short

func Short() string

Short returns a short version string suitable for display in limited space.

Types

This section is empty.

Jump to

Keyboard shortcuts

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