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

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

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