Files
monkey/version.go
Chuck Smith 997f0865f4
Some checks failed
Build / build (push) Failing after 1m40s
Test / build (push) Failing after 11m47s
Extra Features
2024-03-14 21:25:47 -04:00

19 lines
313 B
Go

package main
import (
"fmt"
)
var (
// Version release version
Version = "0.0.1"
// GitCommit will be overwritten automatically by the build system
GitCommit = "HEAD"
)
// FullVersion returns the full version and commit hash
func FullVersion() string {
return fmt.Sprintf("%s@%s", Version, GitCommit)
}