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>
24 lines
586 B
Bash
Executable File
24 lines
586 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
cd $DIR/../../../
|
|
|
|
if [[ "${TRAVIS_EVENT_TYPE}" == "push" ]];
|
|
then
|
|
TAG_NPM=latest
|
|
if [[ $TRAVIS_BRANCH == "develop" ]];
|
|
then
|
|
TAG_NPM=alpha
|
|
if [[ $TRAVIS_EVENT_TYPE == "cron" ]];
|
|
then
|
|
TAG_NPM=beta
|
|
fi
|
|
fi
|
|
|
|
echo "Publishing on npm with tag $TAG_NPM"
|
|
npx @alfresco/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
|
|
else
|
|
echo "PR No need to release in NPM"
|
|
fi;
|