Use LDFLAGS to set build version

This commit is contained in:
2021-03-02 00:41:55 -06:00
parent c8d0d306e4
commit 4d3074fa14
2 changed files with 6 additions and 3 deletions

View File

@ -29,7 +29,7 @@ func init() {
RegisterCommand(NewCmdVersion())
}
const Version = "0.1.0-pre"
var Version string = "0.1.0-pre"
const lumercFile string = ".lumerc"