Fix the adf-cli with version option

This commit is contained in:
maurizio vitale
2019-09-03 15:15:54 +01:00
parent e4448259f3
commit 8d095974a4
2 changed files with 15 additions and 14 deletions

View File

@@ -47,10 +47,11 @@ git checkout development
BRANCH="ADF-update-beta-$VERSION"
git checkout -b $BRANCH
npm install @alfresco/adf-cli@alpha
if $GNU; then
npx @alfresco/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
else
npx @alfresco/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
git add .