Sign in
gerrit
/
gerrit-ci-scripts
/
9d102105f2c56ca9bffbec72b8dfee6e0c530357
/
.
/
jenkins
/
gerrit-bazel-cleancache.sh
blob: 0f9f651bb221d48245b0e6eb467ec725961d90dc [
file
] [
log
] [
blame
]
#!/bin/bash -e
if
git show
--
diff
-
filter
=
AM
--
name
-
only
--
pretty
=
""
HEAD
|
grep
-
q
.
bazelversion
then
echo
"Bazel version upgrade to $(cat .bazelversion) detected => cleaning up all local Bazel caches"
rm
-
Rf
~/.
gerritcodereview
~/.
cache
fi