Merge pull request #42982 from nextcloud/backport/42974/stable28

[stable28] fix(build): Fix OpenAPI diff on non-default specs
This commit is contained in:
Ferdinand Thiessen 2024-01-20 17:41:35 +01:00 committed by GitHub
commit ea2ba8b27e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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