hack/generate/gen-test-framework.sh: fix for release branches
@@ -13,7 +13,7 @@ cd test/test-framework
# Ensure test-framework is up-to-date with current Go project dependencies.
echo "$(../../build/operator-sdk print-deps)" > go.mod
-sed -i".bak" -E -e "s|github.com/operator-framework/operator-sdk[[:blank:]]+master||g" go.mod; rm -f go.mod.bak
+sed -i".bak" -E -e "/github.com\/operator-framework\/operator-sdk .+/d" go.mod; rm -f go.mod.bak
echo -e "\nreplace github.com/operator-framework/operator-sdk => ../../" >> go.mod
go mod edit -require "github.com/operator-framework/operator-sdk@v0.0.0"
go build ./...
