File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ KPROMO_VER := v4.0.4
101101KPROMO_BIN := kpromo
102102KPROMO := $(TOOLS_BIN_DIR ) /$(KPROMO_BIN ) -$(KPROMO_VER )
103103
104- GO_APIDIFF_VER := v0.7.0
104+ GO_APIDIFF_VER := v0.8.2
105105GO_APIDIFF_BIN := go-apidiff
106106GO_APIDIFF := $(TOOLS_BIN_DIR ) /$(GO_APIDIFF_BIN )
107107
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cd "${REPO_ROOT}" || exit
2424echo " *** Running go-apidiff ***"
2525APIDIFF=$( APIDIFF_OLD_COMMIT=" ${PULL_BASE_SHA} " make apidiff 2> /dev/null)
2626
27- if [[ " ${APIDIFF} " == * " sigs.k8s.io/cluster-api-provider-azure/api/" * ]] || [[ " ${ APIDIFF} " == * " sigs.k8s.io/cluster-api-provider-azure/exp/api/ " * ]] ; then
27+ if grep -qE ' ^ sigs\ .k8s\ .io/cluster-api-provider-azure/(exp/)? api/' <<< " $ APIDIFF" ; then
2828 echo " ${APIDIFF} "
2929 exit 1
3030else
You can’t perform that action at this time.
0 commit comments