diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-07-24 14:25:39 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-07-24 14:25:39 -0600 |
| commit | f6246571a629dc2ee298a94b445556a0d76d99b1 (patch) | |
| tree | 0fba29662cadaa38a95b587f09a4c5122f07ad70 /Rakefile | |
| parent | 0056f660af7117fb5d5c7be323121248a686cd96 (diff) | |
reverse logic when checking whether to skip dependent builds
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -131,9 +131,8 @@ 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_TAG'] && - (ENV['TRAVIS_JOB_NUMBER'].to_s.end_with? '.1') + p ENV['TRAVIS_TAG'] + next if ENV['TRAVIS_PULL_REQUEST'].to_s == 'true' || ENV['TRAVIS_TAG'] || !(ENV['TRAVIS_JOB_NUMBER'].to_s.end_with? '.1') end next unless (token = ENV['TRAVIS_TOKEN']) require 'net/http' |
