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:
parent
458306fb35
commit
12aece3511
1 changed files with 3 additions and 0 deletions
3
Rakefile
3
Rakefile
|
@ -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$}
|
||||
|
|
Loading…
Reference in a new issue