Add a revision number to the versioning scheme

This commit is contained in:
bsongis
2014-05-20 21:17:23 +02:00
parent 2a777003b9
commit 847baa09ef
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -279,7 +279,7 @@ SHELL = sh
IMG2LBM = -python ../util/img2lbm.py
BIN2LBM = -python ../util/bin2lbm.py
TRANSLATE = -python ../util/translate.py
VERSION = 1.99
VERSION = 1.99.1
SRC =
CPPSRC =
@@ -1155,7 +1155,6 @@ stamp_header:
@echo "#define DATE_STR \"`date +%Y-%m-%d | tr -d '\r\n'`\"" >> stamp-opentx.h
@echo "#define TIME_STR \"`date +%H:%M:%S | tr -d '\r\n'`\"" >> stamp-opentx.h
@echo "#define VERS_STR \"$(VERSION)\"" >> stamp-opentx.h
@echo "#define VERS_NUM $(VERSION)" >> stamp-opentx.h
opentx-stamp:
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx.txt
+1 -1
View File
@@ -80,7 +80,7 @@ void hook(lua_State* L, lua_Debug *ar)
static int luaGetVersion(lua_State *L)
{
lua_pushnumber(L, VERS_NUM);
lua_pushstring(L, VERS_STR);
return 1;
}