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