File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ AGE_SYLR_REPO ?= https://github.com/sylr/age.git
77KUSTOMIZE_SRC ?= $(GOPATH ) /src/sigs.k8s.io/kustomize/kustomize
88KUSTOMIZE_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
1212export 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
You can’t perform that action at this time.
0 commit comments