Exclude pom in archetype resources from version replacement
The 'tools/version.sh' script updates the versions in all pom.xml files. gerrit-plugin-archetype has a pom.xml as resource that is used to generate new plugin projects. This pom.xml file should not be touched by 'tools/version.sh'. Change-Id: I6f2d751b941bf3a32d2c02864f95e6e04420fa40 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com> Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# Java based Maven plugin so its fully portable.
|
||||
#
|
||||
|
||||
POM_FILES=$(git ls-files | grep pom.xml)
|
||||
POM_FILES=$(git ls-files | grep pom.xml | grep -v gerrit-plugin-archetype/src/main/resources/archetype-resources/pom.xml)
|
||||
|
||||
case "$1" in
|
||||
--snapshot=*)
|
||||
|
Reference in New Issue
Block a user