dont die if there are no docs to commit
This commit is contained in:
1 parent
f960277ae8
commit
2ce3a15bb7
1 file changed
+1
-1
@@ -31,7 +31,7 @@ task :man do
|
|||||||
sh "ronn -w -s toc -r5 --markdown man/*.ronn"
|
sh "ronn -w -s toc -r5 --markdown man/*.ronn"
|
||||||
sh "cp man/foreman.1.markdown README.markdown"
|
sh "cp man/foreman.1.markdown README.markdown"
|
||||||
sh "git add README.markdown"
|
sh "git add README.markdown"
|
||||||
sh "git commit -m 'update readme'"
|
sh "git commit -m 'update readme' || echo 'nothing to commit'"
|
||||||
end
|
end
|
||||||
|
|
||||||
task :pages => :man do
|
task :pages => :man do
|
||||||
|
|||||||
Reference in new issue
Block a user