utils: fix scripts/performance_report.sh

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3159
GitOrigin-RevId: d615bf8d1f8a78c4c157b613f0d17cbcb8aef538
This commit is contained in:
Brandon Simmons 2021-12-20 07:02:35 -05:00 committed by hasura-bot
parent 974113c80e
commit fbaa0f75de

View File

@ -42,11 +42,11 @@ open_webpage() {
fi
}
# see also `server/benchmarks/pr-merge-bases.sh`
# see also server/benchmarks/utils/pr-merge-bases.sh
pr_nums=$(git log \
--grep='https://github.com/hasura/graphql-engine-mono/pull/[0-9]*$' \
-"$LIM" \
| grep -oP '^ https://github.com/hasura/graphql-engine-mono/pull/\K[0-9]*$' \
| grep -oP '^ PR-URL: https://github.com/hasura/graphql-engine-mono/pull/\K[0-9]*$' \
# ^ TODO we'd also like to make this a multi-line regex so we can be sure
# these are just the kodiak-added lines
)