cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [2/3] git commit: Find tags relative to master branch (instead of HEAD)
Date Mon, 09 Jun 2014 19:07:13 GMT
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 <agrieve@chromium.org>
Authored: Mon Jun 9 15:06:18 2014 -0400
Committer: Andrew Grieve <agrieve@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) {


Mime
View raw message