mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-23 17:35:00 +00:00
Doc update script: rebase before updating doc
This commit is contained in:
parent
12db0007eb
commit
83f0bf67bc
@ -3,6 +3,7 @@ set -e
|
|||||||
cargo doc
|
cargo doc
|
||||||
FROM=$(git rev-parse --short HEAD)
|
FROM=$(git rev-parse --short HEAD)
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
|
git fetch && git rebase
|
||||||
rsync -a target/doc/ .
|
rsync -a target/doc/ .
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update doc for ${FROM}"
|
git commit -m "Update doc for ${FROM}"
|
||||||
|
Loading…
Reference in New Issue
Block a user