mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-6370] temporary pin ADF cli to js-api 7.2.0 (#9112)
This commit is contained in:
@@ -64,7 +64,7 @@ version_change() {
|
|||||||
|
|
||||||
version_js_change() {
|
version_js_change() {
|
||||||
echo "====== Alfresco JS-API version $1 ====="
|
echo "====== Alfresco JS-API version $1 ====="
|
||||||
VERSION_JS_API=$1
|
JS_API_VERSION=$1
|
||||||
DIFFERENT_JS_API=true
|
DIFFERENT_JS_API=true
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,9 +92,15 @@ update_dependencies() {
|
|||||||
for PROJECT in ${projects[@]}
|
for PROJECT in ${projects[@]}
|
||||||
do
|
do
|
||||||
if [[ $PROJECT == "js-api" ]]; then
|
if [[ $PROJECT == "js-api" ]]; then
|
||||||
PROJECT="@alfresco\/$PROJECT"
|
if [[ $1 == "cli" ]]; then
|
||||||
echo "├─ $PROJECT@$JS_API_VERSION"
|
echo "├─ hotfix: Pinning CLI to 7.2.0"
|
||||||
update_dependency_version $PROJECT $JS_API_VERSION
|
PROJECT="@alfresco\/$PROJECT"
|
||||||
|
update_dependency_version $PROJECT "7.2.0"
|
||||||
|
else
|
||||||
|
PROJECT="@alfresco\/$PROJECT"
|
||||||
|
echo "├─ $PROJECT@$JS_API_VERSION"
|
||||||
|
update_dependency_version $PROJECT $JS_API_VERSION
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
PROJECT="@alfresco\/adf-$PROJECT"
|
PROJECT="@alfresco\/adf-$PROJECT"
|
||||||
echo "├─ $PROJECT@$VERSION"
|
echo "├─ $PROJECT@$VERSION"
|
||||||
@@ -111,7 +117,7 @@ update_library_dependencies() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd $DESTDIR
|
cd $DESTDIR
|
||||||
update_dependencies
|
update_dependencies $1
|
||||||
}
|
}
|
||||||
|
|
||||||
update_root_dependencies() {
|
update_root_dependencies() {
|
||||||
@@ -168,7 +174,7 @@ do
|
|||||||
|
|
||||||
if $JS_API == true; then
|
if $JS_API == true; then
|
||||||
if $DIFFERENT_JS_API == true; then
|
if $DIFFERENT_JS_API == true; then
|
||||||
update_component_js_version $PROJECT $VERSION_JS_API
|
update_component_js_version $PROJECT $JS_API_VERSION
|
||||||
else
|
else
|
||||||
update_component_js_version $PROJECT $VERSION
|
update_component_js_version $PROJECT $VERSION
|
||||||
fi
|
fi
|
||||||
@@ -179,7 +185,7 @@ update_root_dependencies
|
|||||||
|
|
||||||
if $JS_API == true; then
|
if $JS_API == true; then
|
||||||
if $DIFFERENT_JS_API == true; then
|
if $DIFFERENT_JS_API == true; then
|
||||||
update_root_js_api_version $VERSION_JS_API
|
update_root_js_api_version $JS_API_VERSION
|
||||||
else
|
else
|
||||||
update_root_js_api_version $VERSION
|
update_root_js_api_version $VERSION
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user