From b9d71c7f14eb28bf58b954370dd02a2ef123f1b2 Mon Sep 17 00:00:00 2001 From: Zhe Sun <31067185+ZheSun88@users.noreply.github.com> Date: Mon, 19 Oct 2020 11:31:17 +0300 Subject: [PATCH] ci: Include root and component-parent into release parameter (#274) Details: currently, we have the `-am` parameter used in the component release build, as a side effect, if brings in unnecessary dependencies in the deploy list. To remove `-am`, we need to add the component parent project and root project into the `build.modules` --- scripts/prepareDeploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/prepareDeploy.sh b/scripts/prepareDeploy.sh index 2c7e4c3156e..f5d3e1bc4af 100755 --- a/scripts/prepareDeploy.sh +++ b/scripts/prepareDeploy.sh @@ -95,11 +95,11 @@ then fi echo "Deploying "`echo $modules | wc -w`" Modules from branch=$branch to profile=$profile" - -build=vaadin-flow-components-shared +## '.' points to the root project, 'vaadin-flow-components-shared' has the dependencies for demo and tests +build=.,vaadin-flow-components-shared for i in $modules do - [ -d "$i" -o -d "$i-flow-parent" ] && build=$build,$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,$i-flow-parent/$i-testbench,$i-flow-parent/$i-flow-demo done ## Inform TC about computed parameters