File tree Expand file tree Collapse file tree
ci-operator/config/openshift/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090 cp -Rf ./ $dir/api/
9191 rm -rf $dir/api/vendor
9292 cd $dir
93- echo " replace github.com/openshift/api => ./api" >> go.mod
93+ go mod edit - replace github.com/openshift/api= ./api
9494 echo "# github.com/openshift/api => ./api" >> vendor/modules.txt
9595 sed -i "/github.com\/openshift\/api v0.0.0/ s/$/ => \.\/api/" vendor/modules.txt
9696 go mod vendor
@@ -113,8 +113,8 @@ tests:
113113 rm -rf $dir/openshift-api/vendor
114114 rm -rf $dir/openshift-client-go/vendor
115115 cd $dir
116- echo " replace github.com/openshift/api => ./openshift-api" >> go.mod
117- echo " replace github.com/openshift/client-go => ./openshift-client-go" >> go.mod
116+ go mod edit - replace github.com/openshift/api= ./openshift-api
117+ go mod edit - replace github.com/openshift/client-go= ./openshift-client-go
118118 echo "# github.com/openshift/api => ./openshift-api" >> vendor/modules.txt
119119 echo "# github.com/openshift/client-go => ./openshift-client-go" >> vendor/modules.txt
120120 sed -i "/github.com\/openshift\/api v0.0.0/ s/$/ => \.\/openshift-api/" vendor/modules.txt
You can’t perform that action at this time.
0 commit comments