Have pages track stable (for now).

This commit is contained in:
Nathan Weizenbaum 2009-07-06 02:33:22 -07:00
parent 7278355248
commit d758a0d7b9
1 changed files with 2 additions and 1 deletions

View File

@ -262,7 +262,7 @@ ensure
end
task :handle_update do
unless ENV["REF"] =~ %r{^refs/heads/(master|(?:haml|sass)-pages)$}
unless ENV["REF"] =~ %r{^refs/heads/(master|stable|(?:haml|sass)-pages)$}
puts "#{'=' * 20} Ignoring rake handle_update REF=#{ENV["REF"].inspect}"
next
end
@ -279,6 +279,7 @@ task :handle_update do
if branch == "master"
sh %{rake release_edge --trace}
elsif branch == "stable"
sh %{rake pages --trace PROJ=haml}
sh %{rake pages --trace PROJ=sass}
elsif branch =~ /^(haml|sass)-pages$/