Use enterprise token and npx to avoid install

This commit is contained in:
maurizio vitale
2019-09-03 10:33:41 +01:00
parent 2b8703a74c
commit c142371222
3 changed files with 6 additions and 8 deletions

View File

@@ -48,9 +48,9 @@ BRANCH="ADF-update-beta-$VERSION"
git checkout -b $BRANCH
if $GNU; then
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
npx adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --vjs $JS_VERSION
else
./node_modules/@alfresco/adf-cli/bin/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 .