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
|
- npm install
|
||||||
- ./scripts/lint.sh || exit 1
|
- ./scripts/lint.sh || exit 1
|
||||||
- npm run spellcheck || 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
|
- npm run build:dist || exit 1
|
||||||
- stage: Unit test
|
- stage: Unit test
|
||||||
name: core
|
name: core
|
||||||
|
@ -43,6 +43,7 @@ if [ ! -f $DIRECTORY/deps.txt ]; then
|
|||||||
npm run affected:libs -- $HEAD_SHA_BRANCH "HEAD" > $DIRECTORY/deps.txt
|
npm run affected:libs -- $HEAD_SHA_BRANCH "HEAD" > $DIRECTORY/deps.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
cat $DIRECTORY/deps.txt
|
||||||
#echo "extensions" > deps.txt
|
#echo "extensions" > deps.txt
|
||||||
|
|
||||||
#clean file
|
#clean file
|
||||||
|
@ -25,7 +25,10 @@ then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#reset the tmp folder
|
||||||
|
rm -rf tmp
|
||||||
affected="$(./scripts/affected-libs.sh -b "$BRANCH_NAME")"
|
affected="$(./scripts/affected-libs.sh -b "$BRANCH_NAME")"
|
||||||
|
echo $affected
|
||||||
libs=(`echo $affected | sed 's/^$/\n/g'`)
|
libs=(`echo $affected | sed 's/^$/\n/g'`)
|
||||||
|
|
||||||
#core
|
#core
|
||||||
|
@ -19,6 +19,8 @@ cd `dirname $0`
|
|||||||
|
|
||||||
prefix="@alfresco\/adf-"
|
prefix="@alfresco\/adf-"
|
||||||
|
|
||||||
|
projectslength=${#projects[@]}
|
||||||
|
|
||||||
show_help() {
|
show_help() {
|
||||||
echo "Usage: update-version.sh"
|
echo "Usage: update-version.sh"
|
||||||
echo ""
|
echo ""
|
||||||
@ -42,8 +44,9 @@ skip_js() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
last_alpha_mode() {
|
last_alpha_mode() {
|
||||||
echo "====== Auto find last ALPHA version ====="
|
length=`expr $projectslength - 1`
|
||||||
VERSION=$(npm view @alfresco/adf-core@alpha version)
|
echo "====== Auto find last ALPHA version of ${projects[${length}]} ====="
|
||||||
|
VERSION=$(npm view @alfresco/adf-${projects[${length}]}@alpha version)
|
||||||
|
|
||||||
echo "====== version lib ${VERSION} ====="
|
echo "====== version lib ${VERSION} ====="
|
||||||
|
|
||||||
@ -219,8 +222,6 @@ fi
|
|||||||
|
|
||||||
cd "$DIR/../"
|
cd "$DIR/../"
|
||||||
|
|
||||||
projectslength=${#projects[@]}
|
|
||||||
|
|
||||||
echo "====== UPDATE COMPONENTS ======"
|
echo "====== UPDATE COMPONENTS ======"
|
||||||
|
|
||||||
# use for loop to read all values and indexes
|
# use for loop to read all values and indexes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user