Use the local built cli and not the one from npm

This commit is contained in:
Maurizio Vitale
2021-10-07 10:49:08 +01:00
parent 5a2d27393d
commit e1dbcdf7b6

View File

@@ -14,7 +14,7 @@ then
fi fi
echo "Publishing on npm with tag $TAG_NPM" echo "Publishing on npm with tag $TAG_NPM"
npx @alfresco/adf-cli@alpha 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)"
else else
echo "PR No need to release in NPM" echo "PR No need to release in NPM"
fi; fi;