Skip to content

Commit

Permalink
KUBESAW-192: make-generate required before replace
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <[email protected]>
  • Loading branch information
fbm3307 committed Sep 24, 2024
1 parent f768864 commit 7388b3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/verify-replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ do
git clone --depth=1 ${repo} ${repo_path}
echo "Repo cloned successfully"
cd ${repo_path}
if [ $(basename ${repo}) == "host-operator" ]; then
make generate
fi
echo "Initiating 'go mod replace' of current toolchain common version in dependent repos"
go mod edit -replace github.com/codeready-toolchain/toolchain-common=${C_PATH}
make verify-dependencies || ERRORLIST+="($(basename ${repo}))"
Expand Down

0 comments on commit 7388b3b

Please sign in to comment.