Skip to content

Commit

Permalink
rc-1
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <[email protected]>
  • Loading branch information
fbm3307 committed Sep 30, 2024
1 parent f0d26cf commit b17f851
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/verify-replace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ declare -a REPOS=("${GH_BASE_URL_KS}ksctl" "${GH_BASE_URL_CRT}host-operator" "${
C_PATH=${PWD}
ERRORLIST=()


echo Initiating verify-replace on dependent repos
for repo in "${REPOS[@]}"
do
result=0
echo =========================================================================================
echo
echo "$(basename ${repo})"
Expand All @@ -20,7 +22,10 @@ do
git clone --depth=1 ${repo} ${repo_path}
echo "Repo cloned successfully"
cd ${repo_path}
make pre-verify || ERRORLIST+="($(basename ${repo}))"
make pre-verify || ERRORLIST+="($(basename ${repo}))" result=${$?}
if [ ${result} -ne 0 ]; then
continue
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 b17f851

Please sign in to comment.