Travis - Prints the dependencies inside the logs (#3997)

* Remove the tmp folder inside the smart-build script. Print the deps file to see the current dependencies

* Use the alpha of the latest lib published on npm
This commit is contained in:
Maurizio Vitale
2018-11-21 14:56:55 +00:00
committed by Eugenio Romano
parent 539850612e
commit 705fb10a65
4 changed files with 10 additions and 5 deletions

View File

@@ -19,6 +19,8 @@ cd `dirname $0`
prefix="@alfresco\/adf-"
projectslength=${#projects[@]}
show_help() {
echo "Usage: update-version.sh"
echo ""
@@ -42,8 +44,9 @@ skip_js() {
}
last_alpha_mode() {
echo "====== Auto find last ALPHA version ====="
VERSION=$(npm view @alfresco/adf-core@alpha version)
length=`expr $projectslength - 1`
echo "====== Auto find last ALPHA version of ${projects[${length}]} ====="
VERSION=$(npm view @alfresco/adf-${projects[${length}]}@alpha version)
echo "====== version lib ${VERSION} ====="
@@ -219,8 +222,6 @@ fi
cd "$DIR/../"
projectslength=${#projects[@]}
echo "====== UPDATE COMPONENTS ======"
# use for loop to read all values and indexes