Skip to content

Commit

Permalink
change dev naming format
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlevin committed Oct 4, 2022
1 parent 507e978 commit 04fba35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/prep_nightly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 04fba35

Please sign in to comment.