aboutsummaryrefslogtreecommitdiff
path: root/zencore/xmake.lua
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2022-06-23 16:22:50 -0700
committerGitHub <[email protected]>2022-06-24 01:22:50 +0200
commit2ece54858bc2a93e4f97176f37e9966560cfae41 (patch)
treeb127e29a888a8eeb4c19efcb6f14331d3fd71fd8 /zencore/xmake.lua
parentMake cas storage an hidden implementation detail of CidStore (#130) (diff)
downloadzen-2ece54858bc2a93e4f97176f37e9966560cfae41.tar.xz
zen-2ece54858bc2a93e4f97176f37e9966560cfae41.zip
add macos builds (#133)
* add macos builds * bump timeout to 15 minutes and add timeout to create-release flow * strip -pre suffix from version when running config * fix pre-release check * bump version
Diffstat (limited to 'zencore/xmake.lua')
-rw-r--r--zencore/xmake.lua1
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")