mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF] - saving in the url the filter values * Fixed filter status on refresh * Fixed filter status on refresh * [ACA-3506] - added url filtering save * [ACA-3506] - fixed spellcheck * improve log * more log * fix scripts * Added documentation for allowUpdateOnChange setting * Added default value in description for docs Co-authored-by: Vito Albano <vitoalbano@Vitos-MacBook-Pro.local> Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
37 lines
1.0 KiB
Bash
Executable File
37 lines
1.0 KiB
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" ]];
|
|
then
|
|
if [[ $TRAVIS_BRANCH == "develop" ]];
|
|
then
|
|
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
|
|
|
|
npm install
|
|
else
|
|
echo "====== Update the package.json with latest JS-API/CLI deps ====="
|
|
npx @alfresco/adf-cli@alpha update-version --alpha --pathPackage "$(pwd)"
|
|
npm install;
|
|
# nx affected --target=build --base=$BASE_HASH --head=$HEAD_HASH --exclude="cli,demoshell" --prod --with-deps || exit 1; TODO comment out when affected is fixe
|
|
fi;
|
|
|
|
./scripts/build/build-all-lib.sh
|
|
|
|
echo "====== Build Demo shell for production ====="
|
|
nx build demoshell --prod
|