Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Aug 12, 2023
1 parent 98b37c4 commit bd9a91e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .ci/get_build_matrix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,19 @@ BUILD_ORDER=$(catkin list -u)

FIRST=true

RESULT='{"matrix": ['

for PACKAGE in $BUILD_ORDER; do

if $FIRST; then
RESULT="[$PACKAGE"
RESULT=$RESULT\"$PACKAGE\"
FIRST=false
else
RESULT="$RESULT, $PACKAGE"
RESULT="$RESULT, \"$PACKAGE\""
fi

done

RESULT="$RESULT]"
RESULT="$RESULT]}"

echo $RESULT

0 comments on commit bd9a91e

Please sign in to comment.