From 9d7efe6de01093ccd8c7cbb4e83b542012a084bc Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 16 Jul 2021 09:34:11 +0200 Subject: [PATCH] [devops] Fix detection of breaking changes in the api comparison. (#12123) Surrounding a glob with quotes will make bash interpret the glob as a literal filename, and not expand it, so move the quotes to not include the glob. --- tools/devops/automation/scripts/bash/compare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/devops/automation/scripts/bash/compare.sh b/tools/devops/automation/scripts/bash/compare.sh index d98fcd1c3a..7137b31a7d 100755 --- a/tools/devops/automation/scripts/bash/compare.sh +++ b/tools/devops/automation/scripts/bash/compare.sh @@ -75,7 +75,7 @@ cp -R ./tools/comparison/generator-diff "$API_COMPARISON" if ! grep "href=" "$API_COMPARISON/api-diff.html" >/dev/null 2>&1; then printf ":white_check_mark: [API Diff (from PR only)](%s) (no change)" "$API_URL" >> "$WORKSPACE/api-diff-comments.md" -elif perl -0777 -pe 's/