Files
aicli/version/version.go
Jay 91c61ca4c8
All checks were successful
Release / release (push) Successful in 3m13s
Initial commit.
2025-10-25 21:23:20 -04:00

17 lines
448 B
Go

package version
// These variables are set by the build process using ldflags
var (
// Version is the semantic version of the release
Version = "dev"
// CommitHash is the git commit hash of the build
CommitHash = "unknown"
// BuildDate is the date when the binary was built
BuildDate = "unknown"
)
// GetVersion returns a formatted version string
func GetVersion() string {
return Version + " (" + CommitHash + ") built at " + BuildDate
}