Ensure builds are reproducible (#842)

This commit is contained in:
Benoit Marty 2020-01-17 16:06:58 +01:00
parent d1699279fe
commit 8c32796d5c
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ Translations 🗣:
- -
Build 🧱: Build 🧱:
- - Ensure builds are reproducible (#842)
Changes in RiotX 0.13.0 (2020-01-17) Changes in RiotX 0.13.0 (2020-01-17)
=================================================== ===================================================

View file

@ -74,7 +74,7 @@ android {
} }
static def gitRevision() { static def gitRevision() {
def cmd = "git rev-parse --short HEAD" def cmd = "git rev-parse --short=8 HEAD"
return cmd.execute().text.trim() return cmd.execute().text.trim()
} }

View file

@ -45,7 +45,7 @@ def getVersionCode() {
} }
static def gitRevision() { static def gitRevision() {
def cmd = "git rev-parse --short HEAD" def cmd = "git rev-parse --short=8 HEAD"
return cmd.execute().text.trim() return cmd.execute().text.trim()
} }