diff --git a/scripts/prepareDeploy.sh b/scripts/prepareDeploy.sh index ff9de4841a8..a80c37b4d02 100755 --- a/scripts/prepareDeploy.sh +++ b/scripts/prepareDeploy.sh @@ -76,9 +76,7 @@ done [ "$versionBase" = 14.4 -o "$versionBase" = 17.0 ] && lastTag=`git tag | grep "^$versionBase" | head -1` if [ -n "$lastTag" ] then - modified=`git diff --name-only $lastTag HEAD | grep '.java$' | cut -d "/" -f1 | grep parent | sort -u | perl -pe 's,-flow-parent,,g'` - [ -n "$modified" ] && modules="$modified" - + modules=`git diff --name-only $lastTag HEAD | grep '.java$' | cut -d "/" -f1 | grep parent | sort -u | perl -pe 's,-flow-parent,,g'` echo "Increasing version of the modified modules since last release $lastTag" for i in $modules do