Use defined REVISION number, rather than git rev count.
This commit is contained in:
parent
ab55f19e75
commit
6158e35fb2
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
VERSION=`egrep 'VERSION = ([0-9.+])' ../common.mk | awk '{print $3}'`
|
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
|
mkdir -p ../dist
|
||||||
rm -rf ../dist/*
|
rm -rf ../dist/*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
VERSION = 1.3
|
VERSION = 1.3
|
||||||
REVISION = $(shell git rev-list HEAD 2>/dev/null | wc -l)
|
REVISION = 1
|
||||||
LOCALE_MO = $(patsubst %.po,%.mo,$(wildcard locale/*.po))
|
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
|
SEARCHPATH += src/ src/battle src/challenges src/draw src/game src/galaxy src/json src/system src/test
|
||||||
|
|
Loading…
Reference in New Issue