Write outdated with trailing commas

This commit is contained in:
Zach Borboa
2026-03-19 16:31:47 -04:00
parent 55209e46bf
commit c31a1f8490
+3 -1
View File
@@ -23,7 +23,9 @@ jobs:
pip install --requirement scripts/make_release_requirements.txt
outdated="$(pip list --outdated --format json | jq)"
outdated_count="$(echo "$outdated" | jq 'length')"
echo "${outdated}" | jq "[{\"outdated_count\":\"${outdated_count}\"}] + ." > scripts/make_release_requirements.json
echo "${outdated}" |
jq "[{\"outdated_count\":\"${outdated_count}\"}] + ." |
npx --yes prettier --parser jsonc --trailing-comma all > scripts/make_release_requirements.json
git diff --color
changes="$(git diff)"
delimiter="$(openssl rand -hex 8)"