Skip to content

Commit

Permalink
chore(owlbot-java): disable re-writing clirr file in owlbot java post…
Browse files Browse the repository at this point in the history
…-processor (#1320)
  • Loading branch information
Neenu1995 committed Jan 10, 2022
1 parent da93087 commit 4b86ab0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docker/owlbot/java/bin/write_clirr_ignore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-*`
Expand Down

0 comments on commit 4b86ab0

Please sign in to comment.