mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
45 lines
1.0 KiB
Bash
45 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
eval projects=(
|
|
"@alfresco/adf-cli"
|
|
"@alfresco/adf-core"
|
|
"@alfresco/adf-content-services"
|
|
"@alfresco/adf-insights"
|
|
"@alfresco/adf-process-services"
|
|
"@alfresco/adf-process-services-cloud"
|
|
"@alfresco/adf-testing"
|
|
"@alfresco/adf-extensions" )
|
|
|
|
show_help() {
|
|
echo "Usage: npm-move-tag.sh"
|
|
echo ""
|
|
echo "-v version package to apply new tag"
|
|
echo "-t new tag name to add"
|
|
}
|
|
|
|
new_tag(){
|
|
eval TAG=$1
|
|
}
|
|
|
|
package_version(){
|
|
eval PACKAGE_VERSION=$1
|
|
}
|
|
|
|
while [[ $1 == -* ]]; do
|
|
case "$1" in
|
|
-h|--help|-\?) show_help; exit 0;;
|
|
-t|--tag) new_tag $2; shift 2;;
|
|
-v) package_version $2; shift 2;;
|
|
-*) echo "invalid option: $1" 1>&2; show_help; exit 0;;
|
|
esac
|
|
done
|
|
|
|
for PACKAGE in ${projects[@]}
|
|
do
|
|
echo "====== Move ${PACKAGE}@${PACKAGE_VERSION} to tag ${TAG}===== "
|
|
echo "====== command npm dist-tag add ${PACKAGE}@${PACKAGE_VERSION} ${TAG}===== "
|
|
npm dist-tag add ${PACKAGE}@${PACKAGE_VERSION} ${TAG}
|
|
done
|