whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Some sites use 'Sponsor Apache'
Date Mon, 24 Apr 2017 14:21:28 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  a65ba96   Some sites use 'Sponsor Apache'
a65ba96 is described below

commit a65ba9684e34878ea38ca9cfb827ddf48dc2f32d
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Apr 24 15:21:27 2017 +0100

    Some sites use 'Sponsor Apache'
---
 tools/site-check.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/site-check.rb b/tools/site-check.rb
index c95e14b..9fd7382 100755
--- a/tools/site-check.rb
+++ b/tools/site-check.rb
@@ -84,7 +84,7 @@ committees.sort_by {|committee| committee.name}.each do |committee|
       data[:security] = uri + a['href'].strip 
     end
 
-    if %w(sponsorship donate).include? a.text.downcase
+    if %w(sponsorship donate).concat(['sponsor apache']).include? a.text.downcase
       data[:sponsorship] = uri + a['href'].strip
     end
   end

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message