Skip to content

Commit bc656c2

Browse files
authored
Merge pull request #1247 from openshift-cherrypick-robot/cherry-pick-1245-to-release-v1.16
[release-v1.16] Install correct SO version
2 parents 63f3e69 + c3afd56 commit bc656c2

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)