Skip to content

Commit

Permalink
pin gazel to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedanese committed Dec 12, 2016
1 parent 00e5777 commit 837eee4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hack/update-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"

go get -u github.com/mikedanese/gazel
go get -u gopkg.in/mikedanese/gazel.v4/gazel
"${GOPATH}/bin/gazel" -root="$(kube::realpath ${KUBE_ROOT})"
4 changes: 2 additions & 2 deletions hack/verify-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ set -o pipefail
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"

go get -u github.com/mikedanese/gazel
if [[ $("${GOPATH}/bin/gazel" -dry-run -root="$(kube::realpath ${KUBE_ROOT})" 2>&1 | tee /dev/stderr | wc -l | tr -d '[:space:]') != 0 ]]; then
go get -u gopkg.in/mikedanese/gazel.v4/gazel
if [[ $("${GOPATH}/bin/gazel" -dry-run -print-diff -root="$(kube::realpath ${KUBE_ROOT})" 2>&1 | tee /dev/stderr | wc -l | tr -d '[:space:]') != 0 ]]; then
echo
echo "BUILD files are not up to date"
echo "Run ./hack/update-bazel.sh"
Expand Down

0 comments on commit 837eee4

Please sign in to comment.