Update build-libs.sh

This commit is contained in:
Eugenio Romano
2021-04-21 13:16:39 +01:00
committed by GitHub
parent a4bb83ae8c
commit 8c01a541d4

View File

@@ -10,18 +10,12 @@ npx @alfresco/adf-cli@alpha update-commit-sha --pointer "HEAD" --pathPackage "$(
if [ $TRAVIS_EVENT_TYPE == "push" ] || [ $TRAVIS_EVENT_TYPE == "cron" ]
then
if [[ $TRAVIS_BRANCH == "develop" ]];
if [ $TRAVIS_BRANCH == "develop"] || [ $TRAVIS_EVENT_TYPE == "cron" ]
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
node ./scripts/pre-publish.js
fi;