Skip to content

Commit ebb2bbd

Browse files
committed
Update kustomize to v4.1.3+age.1
Signed-off-by: Sylvain Rabot <sylvain@abstraction.fr>
1 parent 6a28f8a commit ebb2bbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ AGE_SYLR_REPO ?= https://github.com/sylr/age.git
77
KUSTOMIZE_SRC ?= $(GOPATH)/src/sigs.k8s.io/kustomize/kustomize
88
KUSTOMIZE_SYLR_REPO ?= https://github.com/sylr/kustomize.git
99

10-
KUSTOMIZE_AGE_SUPPORT_COMMIT ?= b8dce3201b944037333374bf551b84954132e946
10+
KUSTOMIZE_AGE_SUPPORT_COMMIT ?= kustomize/v4.1.3+age.1
1111

1212
export GOPATH
1313

@@ -34,6 +34,6 @@ kustomize-binary: $(KUSTOMIZE_SRC) kustomize-git-reset
3434
GOARCH=$$(cut -d / -f2 <<<$$platform); \
3535
OUTPUT=$$(basename $$PWD)-$$GOOS-$$GOARCH-$$(git rev-parse --short=8 HEAD); \
3636
test "$$GOOS" == "windows" && OUTPUT=$${OUTPUT}.exe; \
37-
GOOS=$$GOOS GOARCH=$$GOARCH go build -ldflags="-s -w" -trimpath -o $$OUTPUT .; \
37+
GOOS=$$GOOS GOARCH=$$GOARCH go build -ldflags="-s -X sigs.k8s.io/kustomize/api/provenance.version=$(shell git -C "$(KUSTOMIZE_SRC)/.." describe --tags | cut -d '/' -f2) -X sigs.k8s.io/kustomize/api/provenance.gitCommit=$(shell git -C "$(KUSTOMIZE_SRC)/.." rev-parse HEAD) -X sigs.k8s.io/kustomize/api/provenance.buildDate=$(shell date -u +%FT%TZ)" -trimpath -o $$OUTPUT .; \
3838
cp $$OUTPUT $(CURDIR)/bin; \
3939
done

0 commit comments

Comments
 (0)