[ADF-4914] Fix update versions script on Generator and AMA (#5098)

This commit is contained in:
davidcanonieto
2019-09-24 21:18:59 +01:00
committed by Eugenio Romano
parent 9e27ba5f30
commit e610ae9766

View File

@@ -49,7 +49,11 @@ git checkout -b $BRANCH
npm install @alfresco/adf-cli@alpha npm install @alfresco/adf-cli@alpha
if $GNU; then if $GNU; then
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION 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
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
fi
else else
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION --skipGnu npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION --skipGnu
fi fi