You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2013/09/03 12:37:36 UTC

[4/6] git commit: updated refs/heads/1781-reorganize-and-improve-docs to 10e8b49

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 <kx...@apache.org>
Authored: Mon Sep 2 00:58:25 2013 +0400
Committer: Alexander Shorin <kx...@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']