mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-27 06:20:25 +00:00
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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user