Skip to content

Commit

Permalink
ping github before starting release
Browse files Browse the repository at this point in the history
  • Loading branch information
quix committed Sep 13, 2008
1 parent a5df0c1 commit ad9d4e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile.drake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad9d4e9

Please sign in to comment.