mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix cli command use
This commit is contained in:
@@ -12,3 +12,8 @@ npm run dist
|
||||
|
||||
cd $DIR/../../
|
||||
cp -R ./lib/cli/dist lib/dist/cli/
|
||||
|
||||
echo "====== Move to node_modules ======"
|
||||
rm -rf ./node_modules/@alfresco/adf-cli/ && \
|
||||
mkdir -p ./node_modules/@alfresco/adf-cli/ && \
|
||||
cp -R ./lib/dist/cli/* ./node_modules/@alfresco/adf-cli/
|
||||
|
@@ -4,4 +4,4 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
cd $DIR/../../../
|
||||
|
||||
./lib/dist/cli/bin/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)"
|
||||
|
Reference in New Issue
Block a user