mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
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:
parent
539850612e
commit
705fb10a65
@ -48,7 +48,7 @@ jobs:
|
||||
- npm install
|
||||
- ./scripts/lint.sh || exit 1
|
||||
- npm run spellcheck || exit 1
|
||||
- rm -rf tmp && (./scripts/smart-build.sh -b $TRAVIS_BRANCH || exit 1;);
|
||||
- (./scripts/smart-build.sh -b $TRAVIS_BRANCH || exit 1;);
|
||||
- npm run build:dist || exit 1
|
||||
- stage: Unit test
|
||||
name: core
|
||||
|
@ -43,6 +43,7 @@ if [ ! -f $DIRECTORY/deps.txt ]; then
|
||||
npm run affected:libs -- $HEAD_SHA_BRANCH "HEAD" > $DIRECTORY/deps.txt
|
||||
fi
|
||||
|
||||
cat $DIRECTORY/deps.txt
|
||||
#echo "extensions" > deps.txt
|
||||
|
||||
#clean file
|
||||
|
@ -25,7 +25,10 @@ then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
#reset the tmp folder
|
||||
rm -rf tmp
|
||||
affected="$(./scripts/affected-libs.sh -b "$BRANCH_NAME")"
|
||||
echo $affected
|
||||
libs=(`echo $affected | sed 's/^$/\n/g'`)
|
||||
|
||||
#core
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user