Skip to content

Commit

Permalink
try another change detection for client changes to trigger the nightly
Browse files Browse the repository at this point in the history
builds
  • Loading branch information
peuter committed Oct 29, 2017
1 parent 7bb8a65 commit e2d608c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ script:
- if [ "$CV_BUILD" == "docs" ]; then utils/travis/deploy.sh; fi
before_deploy:
- grunt release-cv
- git log --pretty=format: --name-only --since="2 days ago" client/ | sort | uniq
- CLIENT_CHANGES=`git log --pretty=format: --name-only --since="2 days ago" client/ | sort | uniq | wc -l`
- "CLIENT_CHANGES=`git log --pretty=format: --name-only --since=\"2 days ago\" ${TRAVIS_BUILD_DIR}/client/ | sort | uniq | wc -l`"
- echo "$CLIENT_CHANGES client changes"
- if [ $CLIENT_CHANGES -gt 0 ]; then grunt release-client; fi
deploy:
Expand Down

0 comments on commit e2d608c

Please sign in to comment.