feat: makefile time change back
This commit is contained in:
@@ -82,11 +82,10 @@ vendor:
|
|||||||
#
|
#
|
||||||
# ==================================================================================== #
|
# ==================================================================================== #
|
||||||
|
|
||||||
current_time = $(shell date --iso-8601=seconds)
|
current_time = $(shell date -u +"%Y-%m-%dT%H:%M:%S%z")
|
||||||
git_description = $(shell git describe --always --dirty)
|
git_description = $(shell git describe --always --dirty)
|
||||||
linker_flags = '-s -X main.buildTime=${current_time} -X main.version=${git_description}
|
linker_flags = '-s -X main.buildTime=${current_time} -X main.version=${git_description}
|
||||||
|
|
||||||
|
|
||||||
## build/api: build the cmd/api application
|
## build/api: build the cmd/api application
|
||||||
.PHONY: build/api
|
.PHONY: build/api
|
||||||
build/api:
|
build/api:
|
||||||
|
|||||||
Reference in New Issue
Block a user