Skip to content

Commit

Permalink
chore: dont deploy testbech/demo when missing [skip ci] (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZheSun88 authored May 6, 2021
1 parent 302b5e5 commit 47e064f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/prepareDeploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ echo "Deploying "`echo $modules | wc -w`" Modules from branch=$branch to profile
build=.,vaadin-flow-components-shared
for i in $modules
do
[ -d "$i" -o -d "$i-flow-parent" ] && build=$build,$i-flow-parent,$i-flow-parent/$i-flow,$i-flow-parent/$i-testbench,$i-flow-parent/$i-flow-demo
[ -d "$i" -o -d "$i-flow-parent" ] \
&& build=$build,$i-flow-parent,$i-flow-parent/$i-flow \
&& [ -d "$i-flow-parent/$i-testbench" ] && build=$build,$i-flow-parent/$i-testbench \
&& [ -d "$i-flow-parent/$i-flow-demo" ] && build=$build,$i-flow-parent/$i-flow-demo
done

## Inform TC about computed parameters
Expand Down

0 comments on commit 47e064f

Please sign in to comment.