Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(owlbot-java): disable re-writing clirr file in owlbot java post-processor #1320

Merged
merged 2 commits into from
Jan 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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