Rakefile in platform-api-3.5.0 vs Rakefile in platform-api-3.6.0
- old
+ new
@@ -13,12 +13,13 @@
desc 'Publish API documentation'
task :publish_docs => [:build] do
sh 'rake yard'
sh 'cp -R doc /tmp/platform-api-doc'
sh 'git checkout gh-pages'
+ sh 'rm -rf *'
sh 'cp -R /tmp/platform-api-doc/* .'
sh 'rm -rf /tmp/platform-api-doc'
- sh 'git add .'
+ sh 'git add -A .'
sh 'git commit -am "Rebuild documentation"'
sh 'git push origin gh-pages'
sh 'git checkout master'
end