Rakefile in jekyll-2.0.0.alpha.2 vs Rakefile in jekyll-2.0.0.alpha.3
- old
+ new
@@ -178,10 +178,10 @@
# Commit and push.
puts "Committing and pushing to GitHub Pages..."
sha = `git log`.match(/[a-z0-9]{40}/)[0]
Dir.chdir('gh-pages') do
sh "git add ."
- sh "git commit -m 'Updating to #{sha}.'"
+ sh "git commit --allow-empty -m 'Updating to #{sha}.'"
sh "git push origin gh-pages"
end
puts 'Done.'
end