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

(reverted from commit 140f60b8dc)
This commit is contained in:
Eugenio Romano
2019-09-10 16:07:52 +01:00
parent 327bc56c02
commit c860923691
3 changed files with 5 additions and 5 deletions

View File

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