From 33ebed49cded796682ff0eeea2037fe8d3069153 Mon Sep 17 00:00:00 2001 From: ase-101 Date: Wed, 1 Jul 2020 17:35:02 +0530 Subject: [PATCH] deploying along with parent pom (#103) --- deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 761d001c8bc..2547e7c219d 100644 --- a/deploy.sh +++ b/deploy.sh @@ -6,10 +6,10 @@ version=$3 echo "Attempting to publish all projects that matches version $settings_file with the settings as $version" counter=0 -find $search_directory/ -type f -name "pom.xml" | while read -r F +find $search_directory/* -type f -name "pom.xml" | while read -r F do xmllint xmllint --nowarning --xpath '/*[local-name()="project"]/*[local-name()="version"]' $F | grep $version if [ $? -eq 0 ] ; then - echo "mvn deploy -DskipTests -s $settings_file -f $F" + mvn deploy -DskipTests -s $settings_file -f $F fi done