diff options
| author | ruki <[email protected]> | 2023-01-06 22:39:06 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-01-06 22:39:06 +0800 |
| commit | 860094bc978c2ca509a21a85ffdbce7173ba8aad (patch) | |
| tree | 5236bc1a6bfd762a0849655b56c1949506682c46 /xmake/modules/private/action/require/impl/package.lua | |
| parent | aca51a2079ecdb010085d954c04b5aa5b11d3ed1 (diff) | |
select correct default branch for package
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 0061034df..2d2c8447f 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -367,7 +367,7 @@ function _select_package_version(package, requireinfo, locked_requireinfo) if require_version and #require_version == 40 and require_version:match("%w+") then version, source = require_version, "commit" else - version, source = require_version ~= "latest" and require_version or "master", "branch" + version, source = require_version ~= "latest" and require_version or "@default", "branch" end end -- local source package? we use a phony version |
