Skip to content

Commit

Permalink
ci: do not release any module if no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
manolo committed Oct 11, 2020
1 parent 2800b1d commit f027549
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/prepareDeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f027549

Please sign in to comment.