Skip to content

Commit d4f850a

Browse files
committed
DOC Check out latest release tag before building docs.
1 parent a520223 commit d4f850a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build_and_deploy_docs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh
22

3+
latesttag=$(git describe --tags `git rev-list --tags --max-count=1`)
4+
echo checking out ${latesttag}
5+
git checkout ${latesttag}
36
pushd docs/source
47
make html
58
ghp-import -c docs.pymc.io -n -p _build/html/

0 commit comments

Comments
 (0)