From 6158e35fb298616130fbcd62a4e5d86a54b1f712 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 29 Apr 2018 09:55:57 +0100 Subject: [PATCH] Use defined REVISION number, rather than git rev count. --- build/buildAll.sh | 2 +- common.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/buildAll.sh b/build/buildAll.sh index 296c5f6..b9315ab 100755 --- a/build/buildAll.sh +++ b/build/buildAll.sh @@ -1,7 +1,7 @@ #!/bin/bash -e VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'` -REVISION=`git rev-list HEAD --count` +REVISION=`egrep 'REVISION = ([0-9.+])' ../common.mk | awk '{print $3}'` mkdir -p ../dist rm -rf ../dist/* diff --git a/common.mk b/common.mk index e0b7981..81621eb 100644 --- a/common.mk +++ b/common.mk @@ -1,5 +1,5 @@ VERSION = 1.3 -REVISION = $(shell git rev-list HEAD 2>/dev/null | wc -l) +REVISION = 1 LOCALE_MO = $(patsubst %.po,%.mo,$(wildcard locale/*.po)) SEARCHPATH += src/ src/battle src/challenges src/draw src/game src/galaxy src/json src/system src/test