You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ch...@apache.org on 2016/02/25 21:03:12 UTC

[10/12] couch commit: updated refs/heads/2938-fix-5986-filtered-changes to 9171d5a

fix tarball build


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

Branch: refs/heads/2938-fix-5986-filtered-changes
Commit: 333bc1b0e460f2e2cd7051c1800ef8d12d45cae8
Parents: a0041fb
Author: Jan Lehnardt <ja...@apache.org>
Authored: Mon Feb 22 12:22:57 2016 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Mon Feb 22 20:11:41 2016 +0100

----------------------------------------------------------------------
 rebar.config.script | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/333bc1b0/rebar.config.script
----------------------------------------------------------------------
diff --git a/rebar.config.script b/rebar.config.script
index e989ab2..7d803b9 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -32,7 +32,12 @@ CouchJSName = case os:type() of
         "couchjs"
 end,
 CouchJSPath = filename:join(["priv", CouchJSName]),
-Version = string:strip(os:cmd("git describe --always"), right, $\n),
+Version = case os:getenv("COUCHDB_VERSION") of
+    false ->
+        string:strip(os:cmd("git describe --always"), right, $\n);
+    Version0 ->
+        Version0
+end,
 
 CouchConfig = case filelib:is_file(os:getenv("COUCHDB_CONFIG")) of
     true ->