Skip to content

Commit

Permalink
update deploy to build from root (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
ase-101 authored Jul 1, 2020
1 parent 0055fa0 commit 8ea0085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
mvn deploy -DskipTests -s $settings_file -f $F
echo "mvn deploy -DskipTests -s $settings_file -f $F"
fi
done

0 comments on commit 8ea0085

Please sign in to comment.