Skip to content

Commit

Permalink
Second fix on date format: Remove whitespace that came from comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Sep 13, 2023
1 parent 96aca6a commit 352cdbc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ BINARY := cloudctl-$(GOOS)-$(GOARCH)

SHA := $(shell git rev-parse --short=8 HEAD)
GITVERSION := $(shell git describe --long --all)
BUILDDATE := $(shell date --iso-8601=seconds) # this format is parsable with Go RFC3339
# gnu date format iso-8601 is parsable with Go RFC3339
BUILDDATE := $(shell date --iso-8601=seconds)
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)
Expand Down

0 comments on commit 352cdbc

Please sign in to comment.