Skip to content

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

readthedocs/projects/tasks/builds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,8 @@ def after_return(self, status, retval, task_id, args, kwargs, einfo):
619619

620620
build_complete.send(sender=Build, build=self.data.build)
621621

622-
clean_build(self.data.version)
622+
if self.data.version:
623+
clean_build(self.data.version)
623624

624625
log.info(
625626
'Build finished.',

0 commit comments

Comments
 (0)