Skip to content

Commit

Permalink
deploying along with parent pom (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
ase-101 authored Jul 1, 2020
1 parent 8ea0085 commit 33ebed4
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
echo "mvn deploy -DskipTests -s $settings_file -f $F"
mvn deploy -DskipTests -s $settings_file -f $F
fi
done

0 comments on commit 33ebed4

Please sign in to comment.