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:
@@ -115,7 +115,7 @@ jobs:
|
|||||||
script:
|
script:
|
||||||
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
|
- TAG_VERSION=$(./scripts/travis/deploy/tag-travis-branch.sh)
|
||||||
- echo "Running the docker with tag" $TAG_VERSION
|
- echo "Running the docker with tag" $TAG_VERSION
|
||||||
- ./lib/dist/cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION" --pathProject "$(pwd)"
|
- ./node_modules/@alfresco/adf-cli/bin/adf-cli docker-publish --loginCheck --loginUsername "$DOCKER_REPOSITORY_USER" --loginPassword "$DOCKER_REPOSITORY_PASSWORD" --loginRepo "$DOCKER_REPOSITORY_DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --dockerTags "$TAG_VERSION" --pathProject "$(pwd)"
|
||||||
|
|
||||||
|
|
||||||
- stage: Update Rancher
|
- stage: Update Rancher
|
||||||
@@ -149,4 +149,5 @@ deploy:
|
|||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
|
- demo-shell/dist
|
||||||
- tmp
|
- tmp
|
||||||
|
@@ -12,3 +12,8 @@ npm run dist
|
|||||||
|
|
||||||
cd $DIR/../../
|
cd $DIR/../../
|
||||||
cp -R ./lib/cli/dist lib/dist/cli/
|
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/../../../
|
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