couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject couch commit: updated refs/heads/fix-tarball-build to 83b141b [Forced Update!]
Date Mon, 22 Feb 2016 11:51:12 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/fix-tarball-build 882e4d1af -> 83b141b33 (forced update)


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/83b141b3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/83b141b3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/83b141b3

Branch: refs/heads/fix-tarball-build
Commit: 83b141b339122303443f2601530c386c9061cdb7
Parents: f3b7f5a
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 12:49:06 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/83b141b3/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