mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-28 16:20:56 +08:00
✨ feat(repo_utils): Add branch parameter to repo_info in RepoFileManager
This commit is contained in:
@@ -319,6 +319,7 @@ class RepoFileManager:
|
||||
"""
|
||||
try:
|
||||
repo_info = GithubUtils.parse_github_url(repo_url)
|
||||
repo_info.branch = branch
|
||||
if await repo_info.update_repo_commit():
|
||||
logger.info(f"获取最新提交: {repo_info.branch}", LOG_COMMAND)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user