mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
Use npx instead of absolute adf-cli path (#5053)
(reverted from commit 140f60b8dc966297e3c690e7edebc9aaac8e2b3c)
This commit is contained in:
parent
327bc56c02
commit
c860923691
@ -33,9 +33,9 @@ release() {
|
|||||||
git checkout development
|
git checkout development
|
||||||
|
|
||||||
if $GNU; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
|
@ -7,7 +7,7 @@ cd $DIR/../../../
|
|||||||
rm -rf tmp && mkdir tmp;
|
rm -rf tmp && mkdir tmp;
|
||||||
|
|
||||||
npm install @alfresco/adf-cli@alpha
|
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" ]];
|
if [[ $TRAVIS_PULL_REQUEST == "false" ]];
|
||||||
then
|
then
|
||||||
@ -27,7 +27,7 @@ then
|
|||||||
|
|
||||||
./scripts/npm-build-all.sh || exit 1;
|
./scripts/npm-build-all.sh || exit 1;
|
||||||
else
|
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;
|
npm install;
|
||||||
|
|
||||||
|
@ -19,4 +19,4 @@ fi;
|
|||||||
|
|
||||||
echo "Publishing on npm with tag $TAG_NPM"
|
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)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user