File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,7 @@ export KUBEBUILDER_ASSETS
28
28
GO := GO111MODULE=on GOFLAGS="$(MOD_FLAGS ) " go
29
29
GINKGO := $(GO ) run github.com/onsi/ginkgo/ginkgo
30
30
BINDATA := $(GO ) run github.com/go-bindata/go-bindata/v3/go-bindata
31
-
32
- # ART builds are performed in dist-git, with content (but not commits) copied
33
- # from the source repo. Thus at build time if your code is inspecting the local
34
- # git repo it is getting unrelated commits and tags from the dist-git repo,
35
- # not the source repo.
36
- # For ART image builds, SOURCE_GIT_COMMIT, SOURCE_GIT_TAG, SOURCE_DATE_EPOCH
37
- # variables are inserted in Dockerfile to enable recovering the original git
38
- # metadata at build time.
39
- GIT_COMMIT := $(if $(SOURCE_GIT_COMMIT ) ,$(SOURCE_GIT_COMMIT ) ,$(shell git rev-parse HEAD) )
31
+ GIT_COMMIT := $(shell git rev-parse HEAD) )
40
32
41
33
.PHONY : build test run clean vendor schema-check \
42
34
vendor-update coverage coverage-html e2e \
You can’t perform that action at this time.
0 commit comments