Skip to content

Commit edaa4e3

Browse files
authored
fix: exclude java-vertexai from existing versions check (#13632)
The java-vertexai library has been archived/deprecated and replaced with a dummy POM. We do not plan to release any new versions for it, so it should be excluded from the existing versions check in CI. TAG=agy CONV=f8eb6315-206b-49b6-ac81-b3d05af93c38
1 parent b56f9b8 commit edaa4e3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

generation/check_existing_release_versions.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ function find_existing_version_pom() {
4444
return_code=0
4545

4646
for pom_file in $(find . -maxdepth 3 -name pom.xml|sort --dictionary-order); do
47-
if [[ "${pom_file}" == *java-samples* || "${pom_file}" == *showcase* || "${pom_file}" == *coverage-report* || "${pom_file}" == *sdk-platform-java/pom.xml ]]; then
47+
# Exclude java-vertexai because it has been archived and replaced with a dummy POM.
48+
# We do not plan to release any new versions for it, so we don't want to check if its
49+
# version (which already exists) is a duplicate.
50+
if [[ "${pom_file}" == *java-samples* || "${pom_file}" == *showcase* || "${pom_file}" == *coverage-report* || "${pom_file}" == *sdk-platform-java/pom.xml || "${pom_file}" == *java-vertexai* ]]; then
4851
continue
4952
fi
5053
find_existing_version_pom "${pom_file}"

0 commit comments

Comments
 (0)