Make sure the stable branch is up-to-date when generating pages.
This commit is contained in:
parent
d758a0d7b9
commit
252a0485de
4
Rakefile
4
Rakefile
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue