Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Commit

Permalink
Fix travis.yml to exclude versioning when running cron builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mdgbayly committed Apr 10, 2019
1 parent 9a804c6 commit f57e797
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 f57e797

Please sign in to comment.