mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
Update build.sh
This commit is contained in:
parent
7c4c1e0304
commit
6915cc0e16
@ -8,17 +8,19 @@ rm -rf tmp && mkdir tmp;
|
||||
|
||||
npx @alfresco/adf-cli@alpha update-commit-sha --pointer "HEAD" --pathPackage "$(pwd)"
|
||||
|
||||
if [[ "${TRAVIS_EVENT_TYPE}" == "push" ]];
|
||||
if [ $TRAVIS_EVENT_TYPE == "push" ] || [ $TRAVIS_EVENT_TYPE == "cron" ]
|
||||
then
|
||||
if [[ $TRAVIS_BRANCH == "develop" ]];
|
||||
then
|
||||
NEXT_VERSION=-nextalpha
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user