提交 98c5996e 编写于 作者: C Chris Wanstrath

publish html, too

上级 37006110
......@@ -88,10 +88,13 @@ task :publish => [ :test, :gemspec, :build ] do
end
desc "Publish to GitHub Pages"
task :pages => [ :check_dirty, :standalone ] do
task :pages => [ :build_man, :check_dirty, :standalone ] do
cp "man/hub.1.html html"
`git checkout gh-pages`
`mv hub standalone`
`git add standalone*`
`mv html hub.1.html`
`git add hub.1.html`
`git commit -m "update standalone"`
`git push origin gh-pages`
`git checkout master`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册