Add a revision number to the versioning scheme
This commit is contained in:
+1
-2
@@ -279,7 +279,7 @@ SHELL = sh
|
|||||||
IMG2LBM = -python ../util/img2lbm.py
|
IMG2LBM = -python ../util/img2lbm.py
|
||||||
BIN2LBM = -python ../util/bin2lbm.py
|
BIN2LBM = -python ../util/bin2lbm.py
|
||||||
TRANSLATE = -python ../util/translate.py
|
TRANSLATE = -python ../util/translate.py
|
||||||
VERSION = 1.99
|
VERSION = 1.99.1
|
||||||
|
|
||||||
SRC =
|
SRC =
|
||||||
CPPSRC =
|
CPPSRC =
|
||||||
@@ -1155,7 +1155,6 @@ stamp_header:
|
|||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d | tr -d '\r\n'`\"" >> stamp-opentx.h
|
@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 TIME_STR \"`date +%H:%M:%S | tr -d '\r\n'`\"" >> stamp-opentx.h
|
||||||
@echo "#define VERS_STR \"$(VERSION)\"" >> stamp-opentx.h
|
@echo "#define VERS_STR \"$(VERSION)\"" >> stamp-opentx.h
|
||||||
@echo "#define VERS_NUM $(VERSION)" >> stamp-opentx.h
|
|
||||||
|
|
||||||
opentx-stamp:
|
opentx-stamp:
|
||||||
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx.txt
|
@echo "#define DATE_STR \"`date +%Y-%m-%d`\"" > stamp-opentx.txt
|
||||||
|
|||||||
+1
-1
@@ -80,7 +80,7 @@ void hook(lua_State* L, lua_Debug *ar)
|
|||||||
|
|
||||||
static int luaGetVersion(lua_State *L)
|
static int luaGetVersion(lua_State *L)
|
||||||
{
|
{
|
||||||
lua_pushnumber(L, VERS_NUM);
|
lua_pushstring(L, VERS_STR);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user