geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [04/50] [abbrv] incubator-geode git commit: Looking for git repository starting from the project directory
Date Tue, 09 Feb 2016 01:29:57 GMT
Looking for git repository starting from the project directory

The git revision stored in gemfire.properties was being discovered by
starting from the current working directory where gradle was launched.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/e97d7465
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/e97d7465
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/e97d7465

Branch: refs/heads/feature/GEODE-268
Commit: e97d74654f1f667f3000b68e91737b8095e135dd
Parents: ab25e41
Author: Dan Smith <upthewaterspout@apache.org>
Authored: Thu Feb 4 15:08:52 2016 -0800
Committer: Dan Smith <upthewaterspout@apache.org>
Committed: Thu Feb 4 15:11:21 2016 -0800

----------------------------------------------------------------------
 gemfire-core/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/e97d7465/gemfire-core/build.gradle
----------------------------------------------------------------------
diff --git a/gemfire-core/build.gradle b/gemfire-core/build.gradle
index 85e6fa6..d1a3854 100755
--- a/gemfire-core/build.gradle
+++ b/gemfire-core/build.gradle
@@ -122,7 +122,7 @@ task createVersionPropertiesFile {
   doLast {
 
     try {
-      def grgit = org.ajoberstar.grgit.Grgit.open()
+      def grgit = org.ajoberstar.grgit.Grgit.open(currentDir: projectDir)
       ext.branch = grgit.branch.getCurrent().name
       ext.commitId = grgit.head().id
       ext.sourceDate = grgit.head().getDate().format('yyyy-MM-dd HH:mm:ss Z')


Mime
View raw message