1package version
2
3import (
4	"fmt"
5	"strings"
6)
7
8var (
9	// Version should be updated by hand at each release
10	Version = "0.8.2"
11
12	// GitCommit will be overwritten automatically by the build system
13	GitCommit = "HEAD"
14)
15
16// FullVersion formats the version to be printed
17func FullVersion() string {
18	return fmt.Sprintf("%s, build %s", Version, GitCommit)
19}
20
21// RC checks if the Machine version is a release candidate or not
22func RC() bool {
23	return strings.Contains(Version, "rc")
24}
25