Skip to content

Commit 1cac875

Browse files
committed
Fix condition
Signed-off-by: Uilian Ries <[email protected]>
1 parent a1a060e commit 1cac875

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/scripts/validate-cci-patch-ng.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ for it in $SAMPLE_RECIPES; do
4949
echo "WARNING: conan create failed for $recipe_dir"
5050
if echo "$output" | grep -q "ERROR: There are invalid packages"; then
5151
echo "WARNING: Invalid packages found, skipping the build."
52-
elfi echo "$output" | grep -q "ERROR: Version conflict"; then
52+
elif echo "$output" | grep -q "ERROR: Version conflict"; then
5353
echo "WARNING: Version conflict, skipping the build."
54-
elfi echo "$output" | grep -q "ERROR: Missing binary"; then
54+
elif echo "$output" | grep -q "ERROR: Missing binary"; then
5555
echo "WARNING: Missing binary, skipping the build."
5656
else
5757
echo "ERROR: Fatal error during conan create command execution:"
@@ -60,7 +60,9 @@ for it in $SAMPLE_RECIPES; do
6060
exit 1
6161
fi
6262
else
63-
echo "INFO: conan create succeeded for $recipe_dir."
63+
echo "INFO: Successfully patched $recipe_dir."
64+
echo "$output" | tail -n 10
65+
echo "-------------------------------------------------------"
6466
RECIPES_BUILT_COUNT=$((RECIPES_BUILT_COUNT + 1))
6567
fi
6668
popd

0 commit comments

Comments
 (0)