You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/06/09 21:07:13 UTC

[2/3] git commit: Find tags relative to master branch (instead of HEAD)

Find tags relative to master branch (instead of HEAD)


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/ce0f6d20
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/ce0f6d20
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/ce0f6d20

Branch: refs/heads/master
Commit: ce0f6d20cf2f491fbcc99b495ee00318b08f33fe
Parents: 9550eaf
Author: Andrew Grieve <ag...@chromium.org>
Authored: Mon Jun 9 15:06:18 2014 -0400
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Mon Jun 9 15:07:00 2014 -0400

----------------------------------------------------------------------
 src/gitutil.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/ce0f6d20/src/gitutil.js
----------------------------------------------------------------------
diff --git a/src/gitutil.js b/src/gitutil.js
index 0f9af86..91e4b86 100644
--- a/src/gitutil.js
+++ b/src/gitutil.js
@@ -22,7 +22,7 @@ var executil = require('./executil');
 var gitutil = exports;
 
 exports.findMostRecentTag = function() {
-    return executil.execHelper(executil.ARGS('git describe --tags --abbrev=0 HEAD'), true);
+    return executil.execHelper(executil.ARGS('git describe --tags --abbrev=0 master'), true);
 }
 
 exports.tagExists = function*(tagName) {