lib/sniff/rake_tasks.rb in sniff-0.6.6 vs lib/sniff/rake_tasks.rb in sniff-0.6.7

- old
+ new

@@ -57,10 +57,10 @@ directory 'docs/' desc 'Update gh-pages branch' task :pages => :docs do rev = `git rev-parse --short HEAD`.strip - sh "mv docs/lib/#{gemname}/carbon_model.html docs/" + sh "mv docs/lib/#{gemname}/carbon_model.html docs/carbon_model.html" git 'add *.html', 'docs' git "commit -m 'rebuild pages from #{rev}'", 'docs' do |ok,res| if ok verbose { puts "gh-pages updated" } git 'push -q o HEAD:gh-pages', 'docs' unless ENV['NO_PUSH']