File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,14 @@ apidiffs=$(go run github.com/joelanford/
[email protected] ${APIDIFF_OLD_COMMIT}
3333filtered=$( echo " $apidiffs " | grep -E ' cluster-api-provider-gcp/(api/|exp/api/)' || true)
3434
3535if [[ -n " $filtered " ]]; then
36- echo " API differences found in api/ or exp/api/:"
36+ echo " API differences found in api/ or exp/api/ packages."
37+ echo " "
38+ echo " Full set of differences found by go-apidiff:"
3739 echo " $apidiffs "
3840 exit 1
3941else
40- echo " No differences found in api/ or exp/api/ packages"
42+ echo " No differences found in api/ or exp/api/ packages."
43+ echo " "
44+ echo " Full set of differences found by go-apidiff:"
45+ echo " $apidiffs "
4146fi
Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ REPO_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
2222
2323cd " ${REPO_ROOT} "
2424
25- APIDIFF_OLD_COMMIT=" ${PULL_BASE_SHA} " make apidiff
25+ APIDIFF_OLD_COMMIT=" ${PULL_BASE_SHA} " exec make apidiff
You can’t perform that action at this time.
0 commit comments