diff --git a/scripts/travis/build/build.sh b/scripts/travis/build/build.sh index 56e7a340a3..cd894f1082 100755 --- a/scripts/travis/build/build.sh +++ b/scripts/travis/build/build.sh @@ -11,13 +11,15 @@ npm install @alfresco/adf-cli@alpha if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then - + TAG_NPM=latest if [[ $TRAVIS_BRANCH == "development" ]]; then NEXT_VERSION=-nextalpha + TAG_NPM=alpha if [[ $TRAVIS_EVENT_TYPE == "cron" ]]; then NEXT_VERSION=-nextbeta + TAG_NPM=beta fi ./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1; fi @@ -31,7 +33,7 @@ else ./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --alpha --pathPackage "$(pwd)" npm install; - + ./scripts/smart-build.sh -b $TRAVIS_BRANCH -gnu || exit 1; fi;