From 2ece54858bc2a93e4f97176f37e9966560cfae41 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 23 Jun 2022 16:22:50 -0700 Subject: 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 --- zencore/xmake.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'zencore') 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") -- cgit v1.2.3