mirror of https://github.com/apache/cloudstack.git
packaging: remove old node_modules cache and don't exit after rpm build
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
1ea8033f29
commit
cdf82abd9f
|
|
@ -47,6 +47,7 @@ echo "Starting Primate build..."
|
|||
%build
|
||||
|
||||
echo "Executing npm build..."
|
||||
rm -fr node_modules
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ function package_rpm() {
|
|||
else
|
||||
echo "RPM Build Done"
|
||||
fi
|
||||
exit
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
|
|
|
|||
Loading…
Reference in New Issue