Skip to content

Commit 4d475b6

Browse files
committed
chore: read version from correct POM in downstream check scripts
1 parent c0d16c7 commit 4d475b6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.kokoro/client-library-check-doclet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ docletPath=$(realpath "java-docfx-doclet/third_party/docfx-doclet-143274/target/
9393
echo "This is the doclet path: ${docletPath}"
9494

9595
# Read the current version of this BOM in the POM. Example version: '0.116.1-alpha-SNAPSHOT'
96-
VERSION_POM=java-shared-config/pom.xml
96+
VERSION_POM=java-shared-config/java-shared-config/pom.xml
9797
# Namespace (xmlns) prevents xmllint from specifying tag names in XPath
9898
JAVA_SHARED_CONFIG_VERSION=`sed -e 's/xmlns=".*"//' ${VERSION_POM} | xmllint --xpath '/project/version/text()' -`
9999

.kokoro/client-library-check.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgcloud.download.skip=tr
9191
popd
9292

9393
# Read the current version of this BOM in the POM. Example version: '0.116.1-alpha-SNAPSHOT'
94-
VERSION_POM=java-shared-config/pom.xml
94+
VERSION_POM=java-shared-config/java-shared-config/pom.xml
9595
# Namespace (xmlns) prevents xmllint from specifying tag names in XPath
9696
JAVA_SHARED_CONFIG_VERSION=`sed -e 's/xmlns=".*"//' ${VERSION_POM} | xmllint --xpath '/project/version/text()' -`
9797

0 commit comments

Comments
 (0)