fix build script

This commit is contained in:
Eugenio Romano
2020-10-14 01:10:38 +01:00
parent aabc086ac6
commit 24eaeef071
2 changed files with 9 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
{
"name": "@alfresco/adf-process-services-cloud",
"version": "4.1.0",
"lockfileVersion": 1
}

View File

@@ -13,15 +13,15 @@ then
if [[ $TRAVIS_BRANCH == "develop" ]];
then
NEXT_VERSION=-nextalpha
./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1;
fi
if [[ $TRAVIS_EVENT_TYPE == "cron" ]];
then
NEXT_VERSION=-nextbeta
./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1;
fi
./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1;
node ./scripts/pre-publish.js
npm install