Allow building debug builds #3
@ -233,10 +233,11 @@ def comment_event(data: Dict[str, Any]):
|
||||
tokens = line[len(prefix):].strip().split()
|
||||
command = tokens[0]
|
||||
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)
|
||||
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:
|
||||
build(repo, reply_url, html_url, 'override_branch_id', "release", args[0], username, False, args[1:])
|
||||
elif command == "package" and is_pull:
|
||||
|
Loading…
Reference in New Issue
Block a user