Tighten up condition in depgraph.sh

I ran into a circumstance where it appears that there were changes other
than to the two files we care about, leading to an empty commit and a CI
failure:

https://app.circleci.com/pipelines/github/tahoe-lafs/tahoe-lafs/320/workflows/7d045f5f-1536-4cfa-b232-42837d4c9334/jobs/22127/steps
This commit is contained in:
Chad Whitacre 2020-07-14 06:42:45 -04:00
parent 8e8a215b83
commit e2d6b353e8

@ -10,7 +10,7 @@ cd tahoe-depgraph
# Generate the maybe-changed data.
python "${TAHOE}"/misc/python3/tahoe-depgraph.py "${TAHOE}"
if git diff-index --quiet HEAD; then
if git diff-index --quiet HEAD tahoe-deps.json tahoe-ported.json; then
echo "Declining to commit without any changes."
exit 0
fi