diff --git a/docker/owlbot/java/bin/write_clirr_ignore.sh b/docker/owlbot/java/bin/write_clirr_ignore.sh index 35689587a..0b2e5ada3 100755 --- a/docker/owlbot/java/bin/write_clirr_ignore.sh +++ b/docker/owlbot/java/bin/write_clirr_ignore.sh @@ -16,13 +16,6 @@ set -e templates_dir=$(realpath $(dirname "${BASH_SOURCE[0]}")/../templates/clirr) -is_release=$((git log -1 --pretty=%B | grep -e "chore.*release.*-SNAPSHOT") || echo "") - -# on a snapshot bump, clear all clirr-ignore-differences files -if [ ! -z "${is_release}" ] -then - find . -name 'clirr-ignored-differences.xml' | xargs rm || echo "no clirr-ignored-differences.xml files to clean up" -fi # restore default clirr-ignored-differences.xml for protos if the file does not exist for dir in `ls -d proto-google-*`