lib/sdoc_helpers/pages.rb in sdoc-helpers-0.1.1 vs lib/sdoc_helpers/pages.rb in sdoc-helpers-0.1.2
- old
+ new
@@ -12,10 +12,10 @@
namespace :pages do
task :publish => [ :check_dirty, :rerdoc ] do
`git checkout gh-pages`
`ls -1 | grep -v docs | xargs rm -rf; mv docs/* .; rm -rf docs`
- `git commit -a -m "update docs"; git push origin gh-pages`
+ `git add .; git commit -m "update docs"; git push origin gh-pages`
`git checkout master`
puts :done
end
desc "Initialize GitHub Pages with documentation"