couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject rebar commit: updated refs/heads/hack/2.0 to a61e8f7
Date Thu, 24 Dec 2015 13:06:40 GMT
Repository: couchdb-rebar
Updated Branches:
  refs/heads/hack/2.0 [created] a61e8f79c


DIRTY HACK to get 2.0 builds from release tarballs working. FIXME


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

Branch: refs/heads/hack/2.0
Commit: a61e8f79c70488a3fa8c663272777085890a39f1
Parents: 5dea85d
Author: Jan Lehnardt <jan@apache.org>
Authored: Thu Dec 24 14:06:34 2015 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Thu Dec 24 14:06:34 2015 +0100

----------------------------------------------------------------------
 src/rebar_utils.erl | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-rebar/blob/a61e8f79/src/rebar_utils.erl
----------------------------------------------------------------------
diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl
index 9681756..39a8988 100644
--- a/src/rebar_utils.erl
+++ b/src/rebar_utils.erl
@@ -623,7 +623,9 @@ vcs_vsn_1(Vcs, Dir) ->
             end
     end.
 
-vcs_vsn_cmd(git)    -> "git describe --always --tags";
+% dirty dirty hack, because CouchDB 2.0 release tarballs don’t include .git dirs
+% any more and I don’t understand rebar well enough to fix this any other way.
+vcs_vsn_cmd(git)    -> {plain, "2.0.0-alpha"}; % "git describe --always --tags";
 vcs_vsn_cmd(p4)     -> "echo #head";
 vcs_vsn_cmd(hg)     -> "hg identify -i";
 vcs_vsn_cmd(bzr)    -> "bzr revno";


Mime
View raw message