Skip to content

Commit

Permalink
Allow publishing other statuses than 0
Browse files Browse the repository at this point in the history
  • Loading branch information
DuratarskeyK committed Jun 8, 2022
1 parent 1db1f33 commit 570e107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1483,7 +1483,7 @@ def publish():
for task_id in command_line.task_ids:
try:
bl = BuildList(models, task_id)
if bl.status != 0:
if bl.status not in [0, 6000, 8000, 11000, 12000]:
log.error(_("The status of build task %(id)s is \"%(status)s\", can not published!") % {'id': bl.id, 'status': bl.status_string})
continue
res = bl.publish()
Expand Down

0 comments on commit 570e107

Please sign in to comment.