mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
simplify release tasks
This commit is contained in:
@@ -24,8 +24,7 @@ then
|
||||
|
||||
npm install
|
||||
|
||||
nx affected --exclude=cli --target=build --all || exit 1;
|
||||
./scripts/build/build-cli.sh || exit 1;
|
||||
./scripts/build/build-all-lib.sh
|
||||
else
|
||||
echo "====== Update the package.json with latest JS-API/CLI deps ====="
|
||||
npx @alfresco/adf-cli@alpha update-version --alpha --pathPackage "$(pwd)"
|
||||
|
@@ -15,7 +15,9 @@ then
|
||||
TAG_NPM=beta
|
||||
fi
|
||||
fi
|
||||
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)"
|
||||
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)"
|
||||
else
|
||||
echo "PR Not need to release in NPM"
|
||||
fi;
|
||||
|
Reference in New Issue
Block a user