Skip to content

Commit d8ace51

Browse files
authored
KUBESAW-192: Introduce a make command for pre-requisite of verify-replace script (#453)
Signed-off-by: Feny Mehta <[email protected]>
1 parent 5453178 commit d8ace51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/verify-replace.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ do
2020
git clone --depth=1 ${repo} ${repo_path}
2121
echo "Repo cloned successfully"
2222
cd ${repo_path}
23+
if ! make pre-verify; then
24+
ERRORLIST+="($(basename ${repo}))"
25+
continue
26+
fi
2327
echo "Initiating 'go mod replace' of current api version in dependent repos"
2428
go mod edit -replace github.com/codeready-toolchain/api=${C_PATH}
2529
make verify-dependencies || ERRORLIST+="($(basename ${repo}))"

0 commit comments

Comments
 (0)