diff --git a/release.sh b/release.sh new file mode 100755 index 00000000..815ccca4 --- /dev/null +++ b/release.sh @@ -0,0 +1,10 @@ +mdbook build +cd book +git init +git config user.name "sunface" +git config user.email "cto@188.com" +git add . +git commit -m 'release book' +git branch -M gh-pages +git remote add origin https://github.com/rustcm/the-way-to-rust +git push -u -f origin gh-pages \ No newline at end of file