From e585a4d18099f207c674fe58e591ffbff00f9d0a Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sun, 14 Apr 2024 12:38:58 +0200 Subject: [PATCH] don't fail to generate apidiff when packages are introduced --- apidiff.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apidiff.sh b/apidiff.sh index 0ffa27b..6024096 100755 --- a/apidiff.sh +++ b/apidiff.sh @@ -14,6 +14,9 @@ echo "Below are the incompatible changes between $prevversion and next, per pack echo ) >>apidiff/next.txt 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) apidiff -w tmp/apidiff/next/$p.api ./$p (