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:
Rohit Yadav 2020-02-27 16:04:53 +05:30
parent 1ea8033f29
commit cdf82abd9f
2 changed files with 1 additions and 1 deletions

View File

@ -47,6 +47,7 @@ echo "Starting Primate build..."
%build
echo "Executing npm build..."
rm -fr node_modules
npm install
npm run build

View File

@ -60,7 +60,6 @@ function package_rpm() {
else
echo "RPM Build Done"
fi
exit
}
case "$1" in