diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-06-27 09:01:01 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2016-06-27 09:01:01 +0200 |
commit | 451171db528e8d8feff1b3fac7e3f04302b6f59f (patch) | |
tree | c8d8f8c0bc39cb012c70d2f86328236baf1238f1 /moaSig/build.gradle | |
parent | a98fe4810f6926bd459e45d9a92cffc5e7eafb38 (diff) | |
download | moa-sig-451171db528e8d8feff1b3fac7e3f04302b6f59f.tar.gz moa-sig-451171db528e8d8feff1b3fac7e3f04302b6f59f.tar.bz2 moa-sig-451171db528e8d8feff1b3fac7e3f04302b6f59f.zip |
git commit in version string
Diffstat (limited to 'moaSig/build.gradle')
-rw-r--r-- | moaSig/build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/moaSig/build.gradle b/moaSig/build.gradle index 738ebbc..5858e7f 100644 --- a/moaSig/build.gradle +++ b/moaSig/build.gradle @@ -31,7 +31,7 @@ task wrapper(type: Wrapper) { } def getCheckedOutGitCommitHash() { - def gitFolder = "$projectDir/.git/" + def gitFolder = "$projectDir/../.git/" def takeFromHash = 40 def head = new File(gitFolder + "HEAD").text.split(":") def isCommit = head.length == 1 |