mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4922] Fix update project script for Generator and Modeler (#5103)
This commit is contained in:
committed by
Eugenio Romano
parent
3dc92beeb9
commit
aabfe19c51
@@ -47,11 +47,11 @@ git checkout development
|
||||
BRANCH="ADF-update-beta-$VERSION"
|
||||
git checkout -b $BRANCH
|
||||
|
||||
npm install @alfresco/adf-cli@alpha
|
||||
if $GNU; then
|
||||
if [[ $NAME_REPO == 'Alfresco/generator-ng2-alfresco-app']] || [[$NAME_REPO == 'Alfresco/alfresco-modeler-app']]; then
|
||||
if [ $NAME_REPO == 'Alfresco/generator-ng2-alfresco-app' ] || [ $NAME_REPO == 'Alfresco/alfresco-modeler-app' ]; then
|
||||
./scripts/update-version.sh -gnu -v $VERSION -vj $JS_VERSION
|
||||
else
|
||||
npm install @alfresco/adf-cli@alpha
|
||||
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
|
||||
fi
|
||||
else
|
||||
|
Reference in New Issue
Block a user