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/1449a377 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/1449a377 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/1449a377 Branch: refs/heads/1781-reorganize-and-improve-docs Commit: 1449a3777b09282d5fab9310d6eca538332f0b2d Parents: 7c4a8c4 Author: Alexander Shorin <[email protected]> Authored: Mon Sep 2 00:58:25 2013 +0400 Committer: Alexander Shorin <[email protected]> Committed: Fri Sep 27 22:01:47 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/1449a377/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']
