Github user kxepal commented on a diff in the pull request:
https://github.com/apache/couchdb-couch/pull/142#discussion_r53614972
--- Diff: rebar.config.script ---
@@ -32,7 +32,15 @@ CouchJSName = case os:type() of
"couchjs"
end,
CouchJSPath = filename:join(["priv", CouchJSName]),
-Version = string:strip(os:cmd("git describe --always"), right, $\n),
+Version0 = string:strip(os:cmd("git describe --always"), right, $\n),
+% When we are not building from a git checkout, the above will fail.
+% If that is the case, we use the COUCHDB_VERSION variable that has
+% been set by the top level Makefile
+Version = case Version0 of
+ "fatal:" ++ _Msg ->
--- End diff --
Ah, there is such file! Thanks, I totally miss it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---