update scripts

This commit is contained in:
Mario Romano
2016-07-06 10:40:37 +01:00
parent 832f968070
commit e81ea617c4
2 changed files with 8 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR/npm-clean.sh"
for PACKAGE in \
ng2-alfresco-core \
ng2-alfresco-datatable \
@@ -13,5 +15,8 @@ for PACKAGE in \
do
DESTDIR="$DIR/../ng2-components/${PACKAGE}"
echo "====== PUBLISHING: ${DESTDIR} ====="
npm publish ${DESTDIR}
cd ${DESTDIR}
npm install
npm publish
cd ${DIR}
done