Publish the adf pkgs on gh pkg registry (#8313)

This commit is contained in:
Maurizio Vitale
2023-02-23 16:33:48 +00:00
committed by GitHub
parent 33d7fca2cf
commit 7d02ea61a2
3 changed files with 14 additions and 3 deletions

View File

@@ -23,10 +23,18 @@ then
TAG_NPM=alpha
fi
echo "Publishing on npm with tag $TAG_NPM"
echo "Publishing on Public npm registry with tag $TAG_NPM"
./node_modules/@alfresco/adf-cli/bin/adf-cli npm-publish \
--npmRegistry $NPM_REGISTRY_ADDRESS \
--tokenRegistry $NPM_REGISTRY_TOKEN \
--tag $TAG_NPM \
--pathProject "$(pwd)" \
"$@"
echo "Publishing on GH PKG registry with tag $TAG_NPM"
./node_modules/@alfresco/adf-cli/bin/adf-cli npm-publish \
--npmRegistry "npm.pkg.github.com" \
--tokenRegistry $github_token \
--tag $TAG_NPM \
--pathProject "$(pwd)" \
"$@"