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 @@ -84,12 +84,12 @@ function install_serverless(){
8484 KNATIVE_EVENTING_MANIFESTS_DIR=" ${SCRIPT_DIR} /release/artifacts"
8585 export KNATIVE_EVENTING_MANIFESTS_DIR
8686
87- GO111MODULE=off go get -u github.com/openshift-knative/hack/cmd/sobranch
87+ GOFLAGS= ' ' go install github.com/openshift-knative/hack/cmd/sobranch@latest
8888
8989 local release
9090 release=$( yq r " ${SCRIPT_DIR} /project.yaml" project.tag)
9191 release=${release/ knative-/ }
92- so_branch=$( $( go env GOPATH ) /bin/ sobranch --upstream-version " ${release} " )
92+ so_branch=$( sobranch --upstream-version " ${release} " )
9393
9494 local operator_dir=/tmp/serverless-operator
9595 git clone --branch " ${so_branch} " https://github.com/openshift-knative/serverless-operator.git $operator_dir || git clone --branch main https://github.com/openshift-knative/serverless-operator.git $operator_dir
You can’t perform that action at this time.
0 commit comments