diff --git a/scripts/release/release.sh b/scripts/release/release.sh index b2646eceb4..2631c4999f 100755 --- a/scripts/release/release.sh +++ b/scripts/release/release.sh @@ -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 . diff --git a/scripts/travis/build/build.sh b/scripts/travis/build/build.sh index 6f4ca51f2f..8f30f3fbd5 100755 --- a/scripts/travis/build/build.sh +++ b/scripts/travis/build/build.sh @@ -7,7 +7,7 @@ cd $DIR/../../../ rm -rf tmp && mkdir tmp; npm install @alfresco/adf-cli@alpha -npx @alfresco/adf-cli update-commit-sha --pointer "HEAD" --pathPackage "$(pwd)" +./node_modules/@alfresco/adf-cli/bin/adf-cli update-commit-sha --pointer "HEAD" --pathPackage "$(pwd)" if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then @@ -27,7 +27,7 @@ then ./scripts/npm-build-all.sh || exit 1; else - npx @alfresco/adf-cli update-version --alpha --pathPackage "$(pwd)" + ./node_modules/@alfresco/adf-cli/bin/adf-cli update-version --alpha --pathPackage "$(pwd)" npm install; diff --git a/scripts/travis/release/release.sh b/scripts/travis/release/release.sh index 0dd67339df..4c81b7f7aa 100755 --- a/scripts/travis/release/release.sh +++ b/scripts/travis/release/release.sh @@ -19,4 +19,4 @@ fi; echo "Publishing on npm with tag $TAG_NPM" -npx @alfresco/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)" +./node_modules/@alfresco/adf-cli/bin/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"