From 47e064fe9642c85ea5a5f631aed3a977bdedd23f Mon Sep 17 00:00:00 2001 From: Zhe Sun <31067185+ZheSun88@users.noreply.github.com> Date: Thu, 6 May 2021 10:26:43 +0300 Subject: [PATCH] chore: dont deploy testbech/demo when missing [skip ci] (#920) --- scripts/prepareDeploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/prepareDeploy.sh b/scripts/prepareDeploy.sh index 46dce819442..9c4b66a565e 100755 --- a/scripts/prepareDeploy.sh +++ b/scripts/prepareDeploy.sh @@ -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