You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mpack/tools/update-gh-pages.sh

21 lines
393 B
Bash

#!/bin/bash
# updates documentation in gh-pages
set -e
"`dirname $0`"/clean.sh
. "`dirname $0`"/gendocs.sh
cp -ar .build/docs/html docs-html
"`dirname $0`"/clean.sh
git checkout gh-pages || exit $?
rm -r *.{html,png,js,css} search
cp -r docs-html/* .
rm -r docs-html
git add *.{html,png,js,css} search
git commit -am "Updated documentation to version $VERSION"
git show --stat
git status