mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* remove demo shell test and make cloud a bit more stable * fix lint * Update restore-content-directive.e2e.ts * Update restore-content-directive.e2e.ts * Update restore-content-directive.e2e.ts * try fix attach * Update .travis.yml * sleep... * remove about e2e demo shell.... * fix * lint fix * configure * refactor buuild * names and remove demo shell build from libs * fix new build approach * fix * fix * . * uncomment * . * . * fix * fix * . * fix * lock update * fix demo shell errors * use replay subject * fix some console log error * suffix problem * split process e2e * not need to check everywhere the pagination e2e * split content * fix * fix * fix * fix * reorg # Conflicts: # .travis.yml
29 lines
674 B
Bash
Executable File
29 lines
674 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $DIR/../../../
|
|
|
|
rm -rf tmp && mkdir tmp;
|
|
|
|
npx @alfresco/adf-cli@alpha update-commit-sha --pointer "HEAD" --pathPackage "$(pwd)"
|
|
|
|
if [ $TRAVIS_EVENT_TYPE == "push" ] || [ $TRAVIS_EVENT_TYPE == "cron" ]
|
|
then
|
|
if [[ $TRAVIS_BRANCH == "develop" ]];
|
|
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;
|
|
|
|
./scripts/build/build-all-lib.sh
|