From b18a9ac6c963141623bf51c1a759a521be11f497 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 8 Oct 2009 22:28:47 -0700 Subject: [PATCH] Make sure the stable branch of the pages repo is up-to-date. --- Rakefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Rakefile b/Rakefile index 234b1d68..8af5d72d 100644 --- a/Rakefile +++ b/Rakefile @@ -250,6 +250,11 @@ task :pages do Dir.chdir("/var/www/#{proj}-pages") sh %{git fetch origin} + + sh %{git checkout stable} + sh %{git reset --hard origin/stable} + + sh %{git checkout #{proj}-pages} sh %{git reset --hard origin/#{proj}-pages} sh %{rake build --trace} sh %{mkdir -p tmp}