Changed to default branch, with hard coded branch in version script.
This commit is contained in:
parent
8c1711e1d7
commit
917a4ce1e3
|
@ -15,13 +15,15 @@ ZR_VERSION_FILE="src/zr/hgversion.h.inc"
|
||||||
|
|
||||||
ZR_PRODUCT_NAME="Zombie:Reloaded"
|
ZR_PRODUCT_NAME="Zombie:Reloaded"
|
||||||
ZR_COPYRIGHT="Copyright (C) 2009 Greyscale, Richard Helgeby"
|
ZR_COPYRIGHT="Copyright (C) 2009 Greyscale, Richard Helgeby"
|
||||||
|
ZR_BRANCH="zr-3.0-dev"
|
||||||
ZR_LICENSE="GNU GPL, Version 3"
|
ZR_LICENSE="GNU GPL, Version 3"
|
||||||
ZR_DATE=$($ZR_DATEPATH -R)
|
ZR_DATE=$($ZR_DATEPATH -R)
|
||||||
|
|
||||||
echo "#define ZR_VER_PRODUCT_NAME \"$ZR_PRODUCT_NAME\"" > $ZR_VERSION_FILE
|
echo "#define ZR_VER_PRODUCT_NAME \"$ZR_PRODUCT_NAME\"" > $ZR_VERSION_FILE
|
||||||
echo "#define ZR_VER_COPYRIGHT \"$ZR_COPYRIGHT\"" >> $ZR_VERSION_FILE
|
echo "#define ZR_VER_COPYRIGHT \"$ZR_COPYRIGHT\"" >> $ZR_VERSION_FILE
|
||||||
echo "#define ZR_VER_VERSION VERSION" >> $ZR_VERSION_FILE
|
echo "#define ZR_VER_VERSION VERSION" >> $ZR_VERSION_FILE
|
||||||
echo "#define ZR_VER_BRANCH \"$(hg id -b)\"" >> $ZR_VERSION_FILE
|
echo "#define ZR_VER_BRANCH \"$ZR_BRANCH\"" >> $ZR_VERSION_FILE
|
||||||
|
#echo "#define ZR_VER_BRANCH \"$(hg id -b)\"" >> $ZR_VERSION_FILE
|
||||||
echo "#define ZR_VER_REVISION \"$(hg id -n):$(hg id -i)\"" >> $ZR_VERSION_FILE
|
echo "#define ZR_VER_REVISION \"$(hg id -n):$(hg id -i)\"" >> $ZR_VERSION_FILE
|
||||||
echo "#define ZR_VER_LICENSE \"$ZR_LICENSE\"" >> $ZR_VERSION_FILE
|
echo "#define ZR_VER_LICENSE \"$ZR_LICENSE\"" >> $ZR_VERSION_FILE
|
||||||
echo "#define ZR_VER_DATE \"$ZR_DATE\"" >> $ZR_VERSION_FILE
|
echo "#define ZR_VER_DATE \"$ZR_DATE\"" >> $ZR_VERSION_FILE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user