From ad9d4e94d8b2f01a6d86417694d508760975dc09 Mon Sep 17 00:00:00 2001 From: quix Date: Sat, 13 Sep 2008 05:06:25 -0400 Subject: [PATCH] ping github before starting release --- Rakefile.drake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile.drake b/Rakefile.drake index 345c21216..56f7a87b1 100644 --- a/Rakefile.drake +++ b/Rakefile.drake @@ -46,6 +46,9 @@ task :drake_prerelease => :clean do unless `git status` =~ %r!nothing to commit \(working directory clean\)! raise "Directory not clean" end + unless `ping -c2 github.com` =~ %r!0% packet loss!i + raise "No ping for github.com" + end end task :drake_publish => :rdoc do