From 97df909b7731b4fa4a6bb399e6fffba4e76ce09f Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 19 Aug 2021 00:36:32 +0800 Subject: fix semver.select --- core/src/xmake/semver/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/xmake/semver/select.c b/core/src/xmake/semver/select.c index 6b2a13031..395dc6f37 100644 --- a/core/src/xmake/semver/select.c +++ b/core/src/xmake/semver/select.c @@ -119,7 +119,7 @@ static tb_bool_t xm_semver_select_from_branches(lua_State* lua, tb_int_t fromidx lua_pushlstring(lua, source_str, source_len); lua_setfield(lua, -2, "version"); - lua_pushstring(lua, "branches"); + lua_pushstring(lua, "branch"); lua_setfield(lua, -2, "source"); // ok -- cgit v1.3.1