simplify release tasks

This commit is contained in:
Eugenio Romano
2020-07-13 18:36:18 +01:00
parent 270020f561
commit 5edab26f8e
5 changed files with 9 additions and 62 deletions

View File

@@ -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;