being able to update only apps

This commit is contained in:
alfresco-build 2023-02-16 15:02:51 +00:00
parent f8f6d145f3
commit 561f8c38d4

View File

@ -100,6 +100,7 @@ update() {
update_js_dependency "@alfresco/js-api" $JS_API_INSTALLED update_js_dependency "@alfresco/js-api" $JS_API_INSTALLED
if [ "$NAME_REPO" = "alfresco-apps" ]; then if [ "$NAME_REPO" = "alfresco-apps" ]; then
export GH_PACKAGES_READ_ONLY_TOKEN=""
update_dependency "@alfresco/adf-extensions" update_dependency "@alfresco/adf-extensions"
update_dependency "@alfresco/adf-core" update_dependency "@alfresco/adf-core"
update_dependency "@alfresco/adf-content-services" update_dependency "@alfresco/adf-content-services"
@ -157,9 +158,13 @@ rm -rf $TEMP_GENERATOR_DIR
if [ "$DRY_RUN" = "false" ]; then if [ "$DRY_RUN" = "false" ]; then
update "generator-alfresco-adf-app" if [ "$REPO" = "alfresco-apps" ]; then
update "alfresco-content-app" update $REPO
update $REPO else
update "generator-alfresco-adf-app"
update "alfresco-content-app"
update $REPO
fi
else else
echo "[dry-run] it would have update repos: 'generator-alfresco-adf-app', 'alfresco-content-app', $REPO" echo "[dry-run] it would have update repos: 'generator-alfresco-adf-app', 'alfresco-content-app', $REPO"
fi fi