mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update build-libs.sh
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user