diff --git a/generation/check_existing_release_versions.sh b/generation/check_existing_release_versions.sh index 289a8e3d3a0e..ccdc121afe6c 100755 --- a/generation/check_existing_release_versions.sh +++ b/generation/check_existing_release_versions.sh @@ -44,7 +44,7 @@ function find_existing_version_pom() { return_code=0 for pom_file in $(find . -maxdepth 3 -name pom.xml|sort --dictionary-order); do - if [[ "${pom_file}" == *java-samples* || "${pom_file}" == *showcase* || "${pom_file}" == *coverage-report* || "${pom_file}" == *gapic-generator-java-root* ]]; then + if [[ "${pom_file}" == *java-samples* || "${pom_file}" == *showcase* || "${pom_file}" == *coverage-report* || "${pom_file}" == *sdk-platform-java/pom.xml ]]; then continue fi find_existing_version_pom "${pom_file}"