Don't hardcode the version (#353)

and add a `version` command that only prints the version (without the
build time)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
Dimitris Karakasilis
2024-03-21 10:25:47 +02:00
committed by GitHub
parent 4c788ccbd1
commit f3480f8f8d
6 changed files with 28 additions and 14 deletions

View File

@@ -2,10 +2,6 @@ package main
import "github.com/mudler/luet/cmd"
var (
version string
)
func main() {
cmd.Execute()
}