We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a70b917 commit 5ba3f5cCopy full SHA for 5ba3f5c
Makefile
@@ -1,13 +1,10 @@
1
-BUILD_TS := $(shell date -Iseconds --utc)
+BUILD_TS := $(shell date -Iseconds -u)
2
COMMIT_SHA := $(shell git rev-parse HEAD)
3
VERSION := $(shell git describe --abbrev=0 --tags || echo "latest")
4
-OS ?= linux
5
6
export CGO_ENABLED=0
7
-export GOOS=$(OS)
8
-export GO111MODULE=on
9
10
-binary := $(if $(filter-out windows,$(OS)),kafkactl,kafkactl.exe)
+binary := kafkactl
11
12
module=$(shell go list -m)
13
ld_flags := "-X $(module)/cmd.Version=$(VERSION) -X $(module)/cmd.GitCommit=$(COMMIT_SHA) -X $(module)/cmd.BuildTime=$(BUILD_TS)"
0 commit comments