Allow building debug builds #3

Closed
Falk David wants to merge 3 commits from filedescriptor/blender-bot:debug-builds into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
Showing only changes of commit 60fd6c872a - Show all commits

View File

@ -233,10 +233,11 @@ def comment_event(data: Dict[str, Any]):
tokens = line[len(prefix):].strip().split() tokens = line[len(prefix):].strip().split()
command = tokens[0] command = tokens[0]
args = tokens[1:] args = tokens[1:]
if command == "build" and is_pull and len(args) == 0: if command == "build" and is_pull:
if len(args) >= 1 and args[0] in {"release", "debug"}:
build(repo, reply_url, html_url, 'patch_id', args[0], issue_number, username, False, args[1:])
else:
build(repo, reply_url, html_url, 'patch_id', "release", issue_number, username, False, args) build(repo, reply_url, html_url, 'patch_id', "release", issue_number, username, False, args)
elif command == "build" and is_pull and len(args) == 1:
build(repo, reply_url, html_url, 'patch_id', args[0], issue_number, username, False, args)
elif command == "build-branch" and len(args) >= 1: elif command == "build-branch" and len(args) >= 1:
build(repo, reply_url, html_url, 'override_branch_id', "release", args[0], username, False, args[1:]) build(repo, reply_url, html_url, 'override_branch_id', "release", args[0], username, False, args[1:])
elif command == "package" and is_pull: elif command == "package" and is_pull: