2017-02-07 21:33:23 +00:00
|
|
|
package version
|
|
|
|
|
|
|
|
var (
|
|
|
|
// VERSION should be updated by hand at each release
|
2017-07-06 14:28:13 +00:00
|
|
|
VERSION = "0.4.0"
|
2017-02-07 21:33:23 +00:00
|
|
|
|
|
|
|
// GITCOMMIT will be overwritten automatically by the build system
|
|
|
|
GITCOMMIT = "HEAD"
|
|
|
|
|
|
|
|
// BUILDTIME will be overwritten automatically by the build system
|
|
|
|
BUILDTIME = ""
|
|
|
|
|
|
|
|
// SHOWWARNING might be overwritten by the build system to not show the warning
|
|
|
|
SHOWWARNING = "true"
|
|
|
|
)
|
|
|
|
|
|
|
|
// ShowWarning returns wether the warning should be printed or not
|
|
|
|
func ShowWarning() bool {
|
|
|
|
return SHOWWARNING != "false"
|
|
|
|
}
|