diff --git a/tools/version.sh b/tools/version.sh index d3e4cd53d4..a620d9e18a 100755 --- a/tools/version.sh +++ b/tools/version.sh @@ -6,7 +6,7 @@ # Java based Maven plugin so its fully portable. # -POM_FILES=$(git ls-files | grep pom.xml | grep -v gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml) +POM_FILES=$(git ls-files | grep pom.xml | grep -v /src/main/resources/archetype-resources/pom.xml) case "$1" in --snapshot=*)