Skip to content

Commit

Permalink
use blockstack/version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jcnelson committed Apr 5, 2018
1 parent bcb2b51 commit ed7d6c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
COMMAND=$1

if [ "$1" = "public_api" ]; then
version=$(python2 -c 'exec(open("blockstack_client/version.py").read()) ; print "{}.{}.{}".format(__version_major__, __version_minor__, __version_patch__)')
version=$(python2 -c 'exec(open("blockstack/version.py").read()) ; print "{}.{}.{}".format(__version_major__, __version_minor__, __version_patch__)')
cp docs/api-specs.md /tmp/
sed -i "s/###version###/$version/g" /tmp/api-specs.md
aglio -i /tmp/api-specs.md --theme-template docs/aglio_templates/public.jade -o api/templates/index.html
Expand Down

0 comments on commit ed7d6c3

Please sign in to comment.