diff options
Diffstat (limited to 'version.go')
-rw-r--r-- | version.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,10 +4,10 @@ import ( "log" ) -var gitDescribe string +var version string func init() { - if gitDescribe == "" { + if version == "" { log.Fatal("No version information passed to this via build flags") } } |