From ef5bb6333ccf81ad1dcb453198f1f0af853bcd3e Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Mon, 22 May 2017 15:46:28 +0100 Subject: [PATCH] change order publish script install and dev js api --- scripts/npm-publish.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/npm-publish.sh b/scripts/npm-publish.sh index 927e9ad92f..46e866ac0f 100755 --- a/scripts/npm-publish.sh +++ b/scripts/npm-publish.sh @@ -114,7 +114,6 @@ do echo "====== INSTALL AND CLEAN ${PACKAGE} ===== " npm install rimraf npm run clean - npm install if $EXEC_GIT_NPM_INSTALL_JSAPI == true; then echo "====== Use the alfresco JS-API '$GIT_ISH'=====" @@ -124,6 +123,8 @@ do cd ${DESTDIR} fi + npm install + echo "====== PUBLISHING: ${DESTDIR} ===== npm publish ${OPTIONS}" npm publish ${OPTIONS} || exit 1