diff --git a/Makefile b/Makefile index c018d52b9..b6e12bb0b 100644 --- a/Makefile +++ b/Makefile @@ -68,10 +68,10 @@ generate-proto: $(TOOLS_DIR)/buf ## regenerate protos @echo " > protobuf compilation finished" build: - go build -ldflags "-X cmd.Version=${VERSION}" ${NAME} + go build -ldflags "-X ${NAME}/cmd.Version=${VERSION}" ${NAME} build-dev: - CGO_ENABLED=0 go build -ldflags "-X cmd.Version=dev" ${NAME} + CGO_ENABLED=0 go build -ldflags "-X ${NAME}/cmd.Version=dev" ${NAME} clean: rm -rf dist/ diff --git a/cmd/version.go b/cmd/version.go index c99eff717..b0f29d6d9 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -30,7 +30,7 @@ func VersionCmd() *cobra.Command { } fmt.Println(Version) - fmt.Println(term.Yellow(version.UpdateNotice(Version, "gotocompany/meteor"))) + fmt.Println(term.Yellow(version.UpdateNotice(Version, "goto/meteor"))) return nil },