mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
fix(ci): small fixups to checksum_checker.sh (#2776)
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
dcbdc12cc9
commit
664b2e352b
1 changed files with 1 additions and 1 deletions
2
.github/checksum_checker.sh
vendored
2
.github/checksum_checker.sh
vendored
|
@ -17,7 +17,7 @@ function check_and_update_checksum() {
|
||||||
new_checksum=$(python3 ./check_and_update.py $uri)
|
new_checksum=$(python3 ./check_and_update.py $uri)
|
||||||
result=$?
|
result=$?
|
||||||
|
|
||||||
if [[ result -eq 5]]; then
|
if [[ $result -eq 5 ]]; then
|
||||||
echo "Contaminated entry detected, deleting entry for $model_name..."
|
echo "Contaminated entry detected, deleting entry for $model_name..."
|
||||||
yq eval -i "del([$idx])" "$input_yaml"
|
yq eval -i "del([$idx])" "$input_yaml"
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue