1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Make sure the stable branch is up-to-date when generating pages.

This commit is contained in:
Nathan Weizenbaum 2009-07-06 03:06:52 -07:00
parent d758a0d7b9
commit 252a0485de

View file

@ -273,8 +273,10 @@ task :handle_update do
puts '=' * 150
puts "Running rake handle_update REF=#{ENV["REF"].inspect}"
sh %{git checkout master}
sh %{git fetch origin}
sh %{git checkout stable}
sh %{git reset --hard origin/stable}
sh %{git checkout master}
sh %{git reset --hard origin/master}
if branch == "master"