Rakefile in daybreak-0.2.1 vs Rakefile in daybreak-0.2.2
- old
+ new
@@ -22,12 +22,9 @@
File.open("index.html", 'w').write ERB.new(File.open("index.erb").read).result(binding)
end
desc "Publish the docs to gh-pages"
task :publish do |t|
- `git checkout gh-pages`
- `git merge master`
- `git push`
- `git checkout master`
+ system('git push -f origin master:gh-pages')
end
task :default => :test