mirror of
https://github.com/Shu-Ying/main_plugin_farm.git
synced 2026-11-04 11:40:21 +08:00
fixed # 新增本地部署脚本,一键生成对应平台的压缩包内容
This commit is contained in:
@@ -17,9 +17,11 @@ def source_identity(root):
|
||||
return subprocess.check_output(
|
||||
["git", *args], cwd=root, text=True, encoding="utf-8",
|
||||
).strip()
|
||||
commit = git("rev-parse", "HEAD")
|
||||
return {
|
||||
"repository": "https://github.com/Shu-Ying/main_plugin_farm.git",
|
||||
"commit": git("rev-parse", "HEAD"),
|
||||
"commit": commit,
|
||||
"message": git("show", "-s", "--format=%B", commit),
|
||||
"dirty": bool(git("status", "--porcelain", "--untracked-files=normal")),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user