aboutsummaryrefslogtreecommitdiff
path: root/libeufin/patch/fix-version-sourcing.patch
blob: 83101eb56f80d29e7cc82041634f4b17611bcd3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/build.gradle b/build.gradle
index d47f38cd..dea2c30e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -43,14 +43,8 @@ idea {
 }
 
 task versionFile() {
-    def stdout = new ByteArrayOutputStream()
-    exec {
-        commandLine 'git', 'rev-parse', '--short', 'HEAD'
-        standardOutput = stdout
-    }
-    def gitHash = stdout.toString().trim()
-    def version = getRootProject().version
-    new File("${projectDir}/common/src/main/resources", "version.txt").text = "v$version-git-$gitHash"
+    def version = "0.9.4a"
+    new File("${projectDir}/common/src/main/resources", "version.txt").text = "v$version"
 }
 
 // See: https://stackoverflow.com/questions/24936781/gradle-plugin-project-version-number