Skip to content

Commit c3afd56

Browse files
creydropenshift-cherrypick-robot
authored andcommitted
Install correct SO version
1 parent 63f3e69 commit c3afd56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openshift/e2e-common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)