Use defined REVISION number, rather than git rev count.

This commit is contained in:
Steve 2018-04-29 09:55:57 +01:00
parent ab55f19e75
commit 6158e35fb2
2 changed files with 2 additions and 2 deletions

View File

@ -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/*

View File

@ -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