summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-19 00:36:32 +0800
committerruki <[email protected]>2021-08-19 00:36:32 +0800
commit97df909b7731b4fa4a6bb399e6fffba4e76ce09f (patch)
tree1d64b15df7a7cda183b3d89018337ad04969c2e0
parent685beaedb57bed04b1fe8ec2e68348ebb8ceaa37 (diff)
fix semver.select
-rw-r--r--core/src/xmake/semver/select.c2
1 files changed, 1 insertions, 1 deletions
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