build: retain actionable Release API authorization failures
这个提交包含在:
1 父节点
d1019e5b99
当前提交
e0c18d5a51
1 个文件已更改
+4
-3
@@ -30,12 +30,13 @@ def main():
|
||||
subprocess.run(["spctl", "--assess", "--type", "install", str(package)], check=True, capture_output=True)
|
||||
commit = subprocess.check_output(["git", "rev-parse", args.tag + "^{commit}"], cwd=ROOT, text=True).strip()
|
||||
helper = args.pkg_forge_repo / "skills/pkg-forge/scripts/publish_release.py"
|
||||
subprocess.run(["python3", str(helper), "--repository", "dayu/dayu-color", "--repo-root", str(ROOT),
|
||||
result = subprocess.run(["python3", str(helper), "--repository", "dayu/dayu-color", "--repo-root", str(ROOT),
|
||||
"--tag", args.tag, "--commit", commit, "--title", "大鱼调色 " + app["version"] + "(" + app["build"] + ")",
|
||||
"--body-file", str(args.notes.resolve()), "--asset", str(package), "--sha256", report["sha256"],
|
||||
"--bytes", str(report["bytes"]), "--account", "dayu",
|
||||
"--report", str(ROOT / "verification/Release.json")], check=True)
|
||||
"--report", str(ROOT / "verification/Release.json")])
|
||||
return result.returncode
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
raise SystemExit(main())
|
||||
在新工单中引用
屏蔽一个用户