move versioning into the version package

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-07-19 17:43:45 +02:00
parent 304959b3f5
commit eb78661620
4 changed files with 39 additions and 47 deletions

14
version/version.go Normal file
View File

@@ -0,0 +1,14 @@
package version
const (
DevelopmentVersion = "devel"
)
var (
// Version holds the complete version number. Filled in at linking time.
Version = DevelopmentVersion
// Revision is filled with the VCS (e.g. git) revision being used to build
// the program at linking time.
Revision = ""
)