mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-14 14:23:37 +00:00
Run verify-godeps.sh fully if hack/ dir changes
This commit is contained in:
parent
95a4a5d6eb
commit
2b111c5a55
@ -48,7 +48,8 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
|
|||||||
readonly branch=${1:-${KUBE_VERIFY_GIT_BRANCH:-master}}
|
readonly branch=${1:-${KUBE_VERIFY_GIT_BRANCH:-master}}
|
||||||
if ! [[ ${KUBE_FORCE_VERIFY_CHECKS:-} =~ ^[yY]$ ]] && \
|
if ! [[ ${KUBE_FORCE_VERIFY_CHECKS:-} =~ ^[yY]$ ]] && \
|
||||||
! kube::util::has_changes_against_upstream_branch "${branch}" 'Godeps/' && \
|
! kube::util::has_changes_against_upstream_branch "${branch}" 'Godeps/' && \
|
||||||
! kube::util::has_changes_against_upstream_branch "${branch}" 'vendor/'; then
|
! kube::util::has_changes_against_upstream_branch "${branch}" 'vendor/' && \
|
||||||
|
! kube::util::has_changes_against_upstream_branch "${branch}" 'hack/'; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user