summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-01-19 23:35:10 +0100
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2024-01-20 11:10:37 +0000
commit54b9636e17a782e982195572a6f6d7622dc7889c (patch)
tree2114f860fcaa755913fa3d3a9f5ab574f9f24bfa
parent1086d1e1b54e3ec56a81f87d78b4e2268df5d509 (diff)
downloadnextcloud-server-54b9636e17a782e982195572a6f6d7622dc7889c.tar.gz
nextcloud-server-54b9636e17a782e982195572a6f6d7622dc7889c.zip
fix(build): Fix OpenAPI diff on non-default specs
Signed-off-by: provokateurin <kate@provokateurin.de>
-rwxr-xr-xbuild/openapi-checker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/openapi-checker.sh b/build/openapi-checker.sh
index ffcd12aea73..00b2b7d7baa 100755
--- a/build/openapi-checker.sh
+++ b/build/openapi-checker.sh
@@ -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