Skip to content

Commit

Permalink
Ensure that update handling is done on the master branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jun 18, 2009
1 parent 458306f commit 12aece3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Expand Up @@ -252,6 +252,9 @@ end
# ----- Handling Updates -----

task :handle_update do
sh %{git checkout master}
sh %{git pull origin master}

if ENV["REF"] == "refs/heads/master"
sh %{rake release_edge &> edge-gem-output.log}
elsif ENV["REF"] =~ %r{^refs/heads/(haml|sass)-pages$}
Expand Down

0 comments on commit 12aece3

Please sign in to comment.