don't fail to generate apidiff when packages are introduced

This commit is contained in:
Mechiel Lukkien 2024-04-14 12:38:58 +02:00
parent 4b459af4a8
commit e585a4d180
No known key found for this signature in database

View file

@ -14,6 +14,9 @@ echo "Below are the incompatible changes between $prevversion and next, per pack
echo echo
) >>apidiff/next.txt ) >>apidiff/next.txt
for p in $(cat apidiff/packages.txt); do for p in $(cat apidiff/packages.txt); do
if ! test -d tmp/mox-$prevversion/$p; then
continue
fi
(cd tmp/mox-$prevversion && apidiff -w ../apidiff/$prevversion/$p.api ./$p) (cd tmp/mox-$prevversion && apidiff -w ../apidiff/$prevversion/$p.api ./$p)
apidiff -w tmp/apidiff/next/$p.api ./$p apidiff -w tmp/apidiff/next/$p.api ./$p
( (