mirror of
https://github.com/djrobstep/migra.git
synced 2024-10-26 15:14:51 +03:00
fix vbump script
This commit is contained in:
parent
0f43fcf15d
commit
00c03a0937
@ -1,7 +1,7 @@
|
||||
from pathlib import Path
|
||||
from time import time
|
||||
|
||||
from toml import dumps, loads
|
||||
from toml import dumps, loads, TomlPreserveInlineDictEncoder as tpide
|
||||
|
||||
PYPROJECT = "pyproject.toml"
|
||||
|
||||
@ -17,5 +17,4 @@ parts.append(unix)
|
||||
|
||||
v_with_timestamp = ".".join(parts)
|
||||
pyproject["tool"]["poetry"]["version"] = v_with_timestamp
|
||||
|
||||
p.write_text(dumps(pyproject))
|
||||
p.write_text(dumps(pyproject, tpide()))
|
||||
|
Loading…
Reference in New Issue
Block a user