Ensure that update handling is done on the master branch.

This commit is contained in:
Nathan Weizenbaum 2009-06-17 21:48:34 -07:00
parent 458306fb35
commit 12aece3511
1 changed files with 3 additions and 0 deletions

View File

@ -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$}