Use npx instead of absolute adf-cli path (#5053)

This commit is contained in:
Maurizio Vitale
2019-09-09 15:00:04 +01:00
committed by Eugenio Romano
parent 5b9f37d01f
commit 140f60b8dc
3 changed files with 5 additions and 5 deletions

View File

@@ -33,9 +33,9 @@ release() {
git checkout development
if $GNU; then
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION
npx @alfresco/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION
else
./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --skipGnu
npx @alfresco/adf-cli update-version --pathPackage "$(pwd)" --version $VERSION --skipGnu
fi
git add .