ci(aio): debug

This commit is contained in:
Yuan Gao 2017-06-16 11:53:46 -07:00 committed by Matias Niemelä
parent 1b0b69eeec
commit 6924780ae9
1 changed files with 5 additions and 2 deletions

View File

@ -46,9 +46,12 @@ done
timestamp=$(date +%s) timestamp=$(date +%s)
payloadData="$payloadData\"timestamp\": $timestamp, " payloadData="$payloadData\"timestamp\": $timestamp, "
echo $TRAVIS_COMMIT_RANGE
# Add change source: application, dependencies, or 'application+dependencies' # Add change source: application, dependencies, or 'application+dependencies'
allChangedFiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE || "") allChangedFiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE)
yarnChangedFiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep yarn.lock || "") echo $allChangedFiles
yarnChangedFiles=$(git diff --name-only $TRAVIS_COMMIT_RANGE | grep yarn.lock)
echo $yarnChangedFiles
if [[ ! -z $allChangedFiles ]] && [[ ! -z $yarnChangedFiles ]] && [ "$allChangedFiles" != "$yarnChangedFiles" ]; then if [[ ! -z $allChangedFiles ]] && [[ ! -z $yarnChangedFiles ]] && [ "$allChangedFiles" != "$yarnChangedFiles" ]; then
change='application+dependencies' change='application+dependencies'