From 8c32796d5cc5dcbde40b1b4b70da5bffc3b7a304 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 17 Jan 2020 16:06:58 +0100 Subject: [PATCH] Ensure builds are reproducible (#842) --- CHANGES.md | 2 +- matrix-sdk-android/build.gradle | 2 +- vector/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 657f553c36..8d2ee92d7d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,7 +17,7 @@ Translations 🗣: - Build 🧱: - - + - Ensure builds are reproducible (#842) Changes in RiotX 0.13.0 (2020-01-17) =================================================== diff --git a/matrix-sdk-android/build.gradle b/matrix-sdk-android/build.gradle index 7a1348a54c..e510d11efb 100644 --- a/matrix-sdk-android/build.gradle +++ b/matrix-sdk-android/build.gradle @@ -74,7 +74,7 @@ android { } static def gitRevision() { - def cmd = "git rev-parse --short HEAD" + def cmd = "git rev-parse --short=8 HEAD" return cmd.execute().text.trim() } diff --git a/vector/build.gradle b/vector/build.gradle index 14ec9f2c21..a7a0d4afe8 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -45,7 +45,7 @@ def getVersionCode() { } static def gitRevision() { - def cmd = "git rev-parse --short HEAD" + def cmd = "git rev-parse --short=8 HEAD" return cmd.execute().text.trim() }