update release script and README instructions

This commit is contained in:
Nick Sweeting 2020-07-28 06:36:58 -04:00
parent dab97b0a5b
commit 895428c846
2 changed files with 29 additions and 16 deletions

View file

@ -24,8 +24,10 @@ OLD_VERSION="$(cat "$VERSION_FILE")"
NEW_VERSION="$(bump_semver "$OLD_VERSION")"
echo "[*] Fetching latest docs version"
sphinx-apidoc -o docs archivebox
cd "$DIR/docs"
git pull
make html
cd "$DIR"
if [ -z "$(git status --porcelain)" ] && [[ "$(git branch --show-current)" == "master" ]]; then