summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2017-07-24 13:01:27 -0600
committerDan Allen <dan.j.allen@gmail.com>2017-07-24 13:01:27 -0600
commit4bc803c0ddc97f763b23e54acf849e256a284641 (patch)
treee264fe8b97c59510efe72499e0f2dd9b9f823da9
parent645574685ff6bcae457d1ba3bd44038e32b38179 (diff)
don't trigger dependent builds for tags
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index a4966064..dcc4c0ad 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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'