diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-07-24 13:01:27 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-07-24 13:01:27 -0600 |
| commit | 4bc803c0ddc97f763b23e54acf849e256a284641 (patch) | |
| tree | e264fe8b97c59510efe72499e0f2dd9b9f823da9 | |
| parent | 645574685ff6bcae457d1ba3bd44038e32b38179 (diff) | |
don't trigger dependent builds for tags
| -rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -131,7 +131,9 @@ namespace :build do desc 'Trigger builds for all dependent projects on Travis CI' task :dependents do if ENV['TRAVIS'].to_s == 'true' - next unless ENV['TRAVIS_PULL_REQUEST'].to_s == 'false' && (ENV['TRAVIS_JOB_NUMBER'].to_s.end_with? '.1') + next unless ENV['TRAVIS_PULL_REQUEST'].to_s == 'false' && + !ENV['TRAVIS_TAG'] && + (ENV['TRAVIS_JOB_NUMBER'].to_s.end_with? '.1') end next unless (token = ENV['TRAVIS_TOKEN']) require 'net/http' |
