couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [4/6] git commit: updated refs/heads/1781-reorganize-and-improve-docs to 10e8b49
Date Tue, 03 Sep 2013 10:37:36 GMT
Better release version for non-bootsrapped CouchDB.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/bb2b5f67
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/bb2b5f67
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/bb2b5f67

Branch: refs/heads/1781-reorganize-and-improve-docs
Commit: bb2b5f67ad495194ce57a43138571d981cafbe95
Parents: cfe9c83
Author: Alexander Shorin <kxepal@apache.org>
Authored: Mon Sep 2 00:58:25 2013 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Mon Sep 2 00:58:25 2013 +0400

----------------------------------------------------------------------
 share/doc/src/conf.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/bb2b5f67/share/doc/src/conf.py
----------------------------------------------------------------------
diff --git a/share/doc/src/conf.py b/share/doc/src/conf.py
index 3e6d5a3..04b7079 100644
--- a/share/doc/src/conf.py
+++ b/share/doc/src/conf.py
@@ -51,7 +51,11 @@ release = '.'.join([
     _info['LOCAL_VERSION_MAJOR'],
     _info['LOCAL_VERSION_MINOR'],
     _info['LOCAL_VERSION_REVISION']
-]) + _info['LOCAL_VERSION_STAGE'] + '' + _info['LOCAL_VERSION_RELEASE']
+]) + (
+    _info['LOCAL_VERSION_STAGE'] + '' + _info['LOCAL_VERSION_RELEASE']
+    if _info['LOCAL_VERSION_RELEASE'] == '%revision%'
+    else '-dev'
+)
 
 project = _info['LOCAL_PACKAGE_NAME']
 


Mime
View raw message