diff --git a/Makefile b/Makefile index 79aaa7f1b2..e728e42b01 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ go_bin := "$$(go env GOPATH)/bin" gen_authopt_path := "$(go_bin)/protoc-gen-authoption" gen_zitadel_path := "$(go_bin)/protoc-gen-zitadel" -now := $(shell date --rfc-3339=seconds | sed 's/ /T/') +now := $(shell date '+%Y-%m-%dT%T%z' | sed -E 's/.([0-9]{2})([0-9]{2})$$/-\1:\2/') VERSION ?= development-$(now) COMMIT_SHA ?= $(shell git rev-parse HEAD) ZITADEL_IMAGE ?= zitadel:local