Skip to content

Commit

Permalink
Merge pull request #44 from d2lfederation/master
Browse files Browse the repository at this point in the history
Fix automatic CI versioning on cron builds
  • Loading branch information
mdgbayly authored Apr 10, 2019
2 parents 0dd6181 + b3b61e4 commit 858f791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ script:
npm run test:polymer:local || travis_terminate 1;
fi
- |
if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PULL_REQUEST == false ]; then
if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_EVENT_TYPE != "cron" ]; then
echo "Not a Pull Request and on branch master so bumping version";
frauci-update-version;
export TRAVIS_TAG=$(frauci-get-version)
Expand Down

0 comments on commit 858f791

Please sign in to comment.