Default release to version if not in use 77/9277/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 6 Mar 2018 19:03:31 +0000 (14:03 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 6 Mar 2018 19:03:33 +0000 (14:03 -0500)
Simplify things by setting release = version for projects who do
not have the clear distinction.

Change-Id: I746f599ffc10012003c4268b1b31094bcaee5a6f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
docs_conf/conf.py

index c66aa4d..75404fa 100644 (file)
@@ -73,8 +73,8 @@ cfg = collect_project_and_config()
 
 # Parse the config and pull in sphinx conf.py settings
 project = cfg.get('project')
-release = cfg.get('release')
 version = cfg.get('version')
+release = cfg.get('release', version)
 author = cfg.get('author')
 copyright = cfg.get('copyright')