From 04fba35452b28fd55ad3ffb5c244a7fe51542489 Mon Sep 17 00:00:00 2001 From: Oscar Levin Date: Mon, 3 Oct 2022 23:02:13 -0600 Subject: [PATCH] change dev naming format --- scripts/prep_nightly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prep_nightly.py b/scripts/prep_nightly.py index faef4a0c..acedf3a7 100644 --- a/scripts/prep_nightly.py +++ b/scripts/prep_nightly.py @@ -44,7 +44,7 @@ def main(): for line in fileinput.input(Path(__file__).parent.parent/"pyproject.toml", inplace=True): if 'version' in line: version = str(line.split('"')[1]) - newversion = version+"-dev."+datetime.now().strftime('%Y%m%d%H%M%S') + newversion = version+".dev"+datetime.now().strftime('%Y%m%d%H%M%S') print(line.replace(line, f'version = "{newversion}"'.rstrip())) else: print(line.rstrip())