File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ TARGET_NAMESPACE=pipelines-as-code
22GOLANGCI_LINT =golangci-lint
33GOFUMPT =gofumpt
44TKN_BINARY_NAME := tkn
5+ TKN_BINARY_URL := https://tekton.dev/docs/cli/\# installation
56LDFLAGS=
67OUTPUT_DIR =bin
78GO = go
@@ -18,7 +19,7 @@ MD_FILES := $(shell find . -type f -regex ".*md" -not -regex '^./vendor/.*' -n
1819ifeq ($(PAC_VERSION ) ,)
1920 PAC_VERSION="$(shell git describe --tags --exact-match 2>/dev/null || echo nightly-`date +'%Y%m%d'`-`git rev-parse --short HEAD`)"
2021endif
21- FLAGS += -ldflags "-X github.com/openshift-pipelines/pipelines-as-code/pkg/params/version.Version=$(PAC_VERSION ) $(LDFLAGS ) -X github.com/openshift-pipelines/pipelines-as-code/pkg/params/settings.TknBinaryName=$(TKN_BINARY_NAME ) "
22+ FLAGS += -ldflags "-X github.com/openshift-pipelines/pipelines-as-code/pkg/params/version.Version=$(PAC_VERSION ) $(LDFLAGS ) -X github.com/openshift-pipelines/pipelines-as-code/pkg/params/settings.TknBinaryName=$(TKN_BINARY_NAME ) -X github.com/openshift-pipelines/pipelines-as-code/pkg/params/settings.TknBinaryURL= $( TKN_BINARY_URL ) "
2223
2324
2425all : $(OUTPUT_DIR ) /pipelines-as-code-controller $(OUTPUT_DIR ) /tkn-pac test
You can’t perform that action at this time.
0 commit comments