diff --git a/Makefile b/Makefile index 3f386bca..008c5139 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION ?= $(shell git tag -l --sort=v:refname | tail -1) -GIT_COMMIT ?= $(shell git describe --match=NeVeRmAtCh --always --abbrev=40) +GIT_COMMIT ?= $(shell git describe --match=NeVeRmAtCh --always --abbrev=7) BUILD_TIME ?= $(shell date +"%Y-%m-%dT%H:%M:%SZ") BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD) diff --git a/cmd/kubevpn/cmds/version.go b/cmd/kubevpn/cmds/version.go index 416c0831..7d237d81 100644 --- a/cmd/kubevpn/cmds/version.go +++ b/cmd/kubevpn/cmds/version.go @@ -42,7 +42,7 @@ func CmdVersion(cmdutil.Factory) *cobra.Command { Run: func(cmd *cobra.Command, args []string) { fmt.Printf("KubeVPN: CLI\n") fmt.Printf(" Version: %s\n", config.Version) - fmt.Printf(" DaemonVersion: %s\n", getDaemonVersion()) + fmt.Printf(" Daemon: %s\n", getDaemonVersion()) fmt.Printf(" Image: %s\n", config.Image) fmt.Printf(" Branch: %s\n", Branch) fmt.Printf(" Git commit: %s\n", config.GitCommit)