fix(build): Fix OpenAPI diff on non-default specs

Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
provokateurin 2024-01-19 23:35:10 +01:00
parent e5b0941c64
commit 993d5d4a6d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ done
files="$(git diff --name-only)"
changed=false
for file in $files; do
if [[ $file == *"openapi.json" ]]; then
if [[ $file == *"openapi"*".json" ]]; then
changed=true
break
fi