Browse Source

details check

pull/4356/head
Daniel Gibbs 2 years ago
parent
commit
310e0b7606
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 2
      .github/workflows/detals-check-generate-matrix.sh

2
.github/workflows/detals-check-generate-matrix.sh

@ -6,7 +6,6 @@ echo -n "{" > "shortnamearray.json"
echo -n "\"include\":[" >> "shortnamearray.json"
while read -r line; do
if [ "${shortname}" != "sbots" ] && [ "${shortname}" != "inss" ]; then
shortname=$(echo "$line" | awk -F, '{ print $1 }')
export shortname
servername=$(echo "$line" | awk -F, '{ print $2 }')
@ -19,7 +18,6 @@ while read -r line; do
echo -n "\"shortname\":" >> "shortnamearray.json"
echo -n "\"${shortname}\"" >> "shortnamearray.json"
echo -n "}," >> "shortnamearray.json"
fi
done < <(tail -n +2 serverlist.csv)
sed -i '$ s/.$//' "shortnamearray.json"
echo -n "]" >> "shortnamearray.json"

Loading…
Cancel
Save