improve build and publish scripts

This commit is contained in:
Denys Vuika
2020-08-25 15:11:03 +01:00
parent 94273678df
commit da67b6fa19
3 changed files with 4 additions and 11 deletions

View File

@@ -17,7 +17,7 @@ then
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)"
npx @alfresco/adf-cli@alpha npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
else
echo "PR No need to release in NPM"
fi;