diff --git a/Makefile b/Makefile index aa165080..35bdcb05 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ BINARY := cloudctl-$(GOOS)-$(GOARCH) SHA := $(shell git rev-parse --short=8 HEAD) GITVERSION := $(shell git describe --long --all) -BUILDDATE := $(shell date --rfc-3339=seconds) +BUILDDATE := $(shell date --iso-8601=seconds) # this format is parsable with Go RFC3339 VERSION := $(or ${VERSION},$(shell git describe --tags --exact-match 2> /dev/null || git symbolic-ref -q --short HEAD || git rev-parse --short HEAD)) ifeq ($(CGO_ENABLED),1)