From 2ca5ef7edbf744332fcde48602d5f6bb7a16bab5 Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Thu, 6 Dec 2012 17:32:11 +0100 Subject: [PATCH] Exclude all pom.xml files that are archetype resources in version.sh The versions in the pom.xml files that are archetype resources should not be modified by the tools/version.sh script. Change-Id: I47d6af01c56ddb7a92bc0cf27bedb2bcba5a5d5a Signed-off-by: Edwin Kempin --- tools/version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=*)