Skip to content

Commit

Permalink
KUBESAW-192: Introduce a make command for pre-requisite of verify-rep…
Browse files Browse the repository at this point in the history
…lace script (#453)

Signed-off-by: Feny Mehta <fbm3307@gmail.com>
  • Loading branch information
fbm3307 authored Dec 31, 2024
1 parent 5453178 commit d8ace51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/verify-replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ do
git clone --depth=1 ${repo} ${repo_path}
echo "Repo cloned successfully"
cd ${repo_path}
if ! make pre-verify; then
ERRORLIST+="($(basename ${repo}))"
continue
fi
echo "Initiating 'go mod replace' of current api version in dependent repos"
go mod edit -replace github.com/codeready-toolchain/api=${C_PATH}
make verify-dependencies || ERRORLIST+="($(basename ${repo}))"
Expand Down

0 comments on commit d8ace51

Please sign in to comment.