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:
parent
d758a0d7b9
commit
252a0485de
1 changed files with 3 additions and 1 deletions
4
Rakefile
4
Rakefile
|
@ -273,8 +273,10 @@ task :handle_update do
|
||||||
puts '=' * 150
|
puts '=' * 150
|
||||||
puts "Running rake handle_update REF=#{ENV["REF"].inspect}"
|
puts "Running rake handle_update REF=#{ENV["REF"].inspect}"
|
||||||
|
|
||||||
sh %{git checkout master}
|
|
||||||
sh %{git fetch origin}
|
sh %{git fetch origin}
|
||||||
|
sh %{git checkout stable}
|
||||||
|
sh %{git reset --hard origin/stable}
|
||||||
|
sh %{git checkout master}
|
||||||
sh %{git reset --hard origin/master}
|
sh %{git reset --hard origin/master}
|
||||||
|
|
||||||
if branch == "master"
|
if branch == "master"
|
||||||
|
|
Loading…
Add table
Reference in a new issue