fix release apha

This commit is contained in:
Eugenio Romano 2019-08-29 01:01:29 +01:00
parent 609ae3a3ff
commit c35fee473b
2 changed files with 7 additions and 1 deletions

View File

@ -96,7 +96,7 @@ jobs:
./scripts/travis/e2e/process-services-cloud-e2e.sh
- stage: Release on npm
script:
- ./lib/dist/cli/bin/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"
./scripts/travis/release/release.sh
- stage: Check bundle
script:
- ADF_VERSION=$(npm view @alfresco/adf-core@${TAG_NPM} version)

View File

@ -0,0 +1,6 @@
if [[ $TRAVIS_BRANCH == "development" ]];
then
./scripts/update-version.sh -gnu -nextalpha || exit 1;
fi
./lib/dist/cli/bin/adf-cli npm-publish --npmRegistry $NPM_REGISTRY_ADDRESS --tokenRegistry $NPM_REGISTRY_TOKEN --tag $TAG_NPM --pathProject "$(pwd)"