diff options
Diffstat (limited to 'zencore/xmake.lua')
| -rw-r--r-- | zencore/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zencore/xmake.lua b/zencore/xmake.lua index 3f78be99c..f01c12c86 100644 --- a/zencore/xmake.lua +++ b/zencore/xmake.lua @@ -6,6 +6,7 @@ target('zencore') add_configfiles("include/zencore/config.h.in") on_load(function (target) local version = io.readfile("VERSION.txt") + version = string.gsub(version,"%-pre.*", "") target:set("version", version:trim(), {build = "%Y%m%d%H%M"}) end) set_configdir("include/zencore") |