From 289596cf58c33f4ffcae017d76da72cd27a028a3 Mon Sep 17 00:00:00 2001 From: Mitchell Hentges Date: Fri, 28 Jun 2019 16:55:34 -0700 Subject: [PATCH] Changes nightly version to follow the format "Nightly 190627 16:19" (#3742) --- automation/taskcluster/decision_task.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/taskcluster/decision_task.py b/automation/taskcluster/decision_task.py index 48f336dbd..ef190b0df 100644 --- a/automation/taskcluster/decision_task.py +++ b/automation/taskcluster/decision_task.py @@ -167,8 +167,8 @@ if __name__ == "__main__": elif command == 'raptor': ordered_groups_of_tasks = raptor(result.staging) elif command == 'nightly': - formatted_date = datetime.datetime.now().strftime('%y%V') - ordered_groups_of_tasks = release('nightly', result.staging, '1.0.{}'.format(formatted_date)) + nightly_version = datetime.datetime.now().strftime('Nightly %y%m%d %H:%M') + ordered_groups_of_tasks = release('nightly', result.staging, nightly_version) elif command == 'github-release': version = result.tag[1:] # remove prefixed "v" beta_semver = re.compile(r'^v\d+\.\d+\.\d+-beta\.\d+$')