Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ GO_BUILD_ARGS = \
-gcflags "all=-trimpath=$(shell go env GOPATH)" \
-asmflags "all=-trimpath=$(shell go env GOPATH)" \
-ldflags " \
-X '$(REPO)/version.GitVersion=$(VERSION)' \
-X '$(REPO)/version.GitCommit=$(GIT_COMMIT)' \
-X '$(REPO)/version.KubernetesVersion=$(K8S_VERSION)' \
-X '$(REPO)/internal/version.GitVersion=$(VERSION)' \
-X '$(REPO)/internal/version.GitCommit=$(GIT_COMMIT)' \
-X '$(REPO)/internal/version.KubernetesVersion=$(K8S_VERSION)' \
" \


Expand Down Expand Up @@ -66,6 +66,7 @@ all: format test build/operator-sdk ## Test and Build the Operator SDK
install: ## Install the binaries
$(Q)$(GOARGS) go install $(GO_BUILD_ARGS) ./cmd/operator-sdk ./cmd/ansible-operator ./cmd/helm-operator


# Code management.
.PHONY: format tidy clean cli-doc lint

Expand Down