From 09ec28e51782abe510cf7250295ab93deb55b1c1 Mon Sep 17 00:00:00 2001 From: "George K. Thiruvathukal" Date: Sat, 30 Mar 2019 22:12:31 -0500 Subject: [PATCH] updates for release management --- source/conf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/conf.py b/source/conf.py index 36301f7..effb280 100644 --- a/source/conf.py +++ b/source/conf.py @@ -12,8 +12,8 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # -# import os -# import sys +import os +import sys # sys.path.insert(0, os.path.abspath('.')) @@ -24,9 +24,9 @@ author = 'George K. Thiruvathukal' # The short X.Y version -version = '' +version = os.environ.get("BOOK_VERSION", "beta") # The full version, including alpha/beta/rc tags -release = '0.1' +release = version # -- General configuration ---------------------------------------------------