couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [10/12] couch commit: updated refs/heads/2938-fix-5986-filtered-changes to 9171d5a
Date Thu, 25 Feb 2016 20:03:12 GMT
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 <jan@apache.org>
Authored: Mon Feb 22 12:22:57 2016 +0100
Committer: Jan Lehnardt <jan@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 ->


Mime
View raw message