diff --git a/src/main/resources/xlr/WaitForReleaseStatus.py b/src/main/resources/xlr/WaitForReleaseStatus.py index 636737b..7a00b05 100644 --- a/src/main/resources/xlr/WaitForReleaseStatus.py +++ b/src/main/resources/xlr/WaitForReleaseStatus.py @@ -29,9 +29,9 @@ targetRelease = xlr.get_release(releaseApi, targetId) status = str(targetRelease.getStatus()) +task.setStatusLine('Release is %s' % status.lower().replace('_', ' ')) if status in accepted_statuses: targetStatus = status else: # continue polling - task.setStatusLine('Release is %s' % status.lower().replace('_', ' ')) task.schedule('xlr/WaitForReleaseStatus.py')