mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
CI/CD allow a Travis cron job to create beta and update children proj… (#5033)
* CI/CD allow a Travis cron job to create beta and update children projects * Update build.sh
This commit is contained in:
committed by
Eugenio Romano
parent
24e1794fb9
commit
ac28b959ee
@@ -14,7 +14,12 @@ then
|
||||
|
||||
if [[ $TRAVIS_BRANCH == "development" ]];
|
||||
then
|
||||
./scripts/update-version.sh -gnu -nextalpha || exit 1;
|
||||
NEXT_VERSION=-nextalpha
|
||||
if [[ $TRAVIS_EVENT_TYPE == "cron" ]];
|
||||
then
|
||||
NEXT_VERSION=-nextbeta
|
||||
fi
|
||||
./scripts/update-version.sh -gnu $NEXT_VERSION || exit 1;
|
||||
fi
|
||||
|
||||
node ./scripts/pre-publish.js
|
||||
|
Reference in New Issue
Block a user