Skip to content

Commit a3d04b0

Browse files
committed
Merge branch 'feat/version' into dockerify
2 parents a1a7819 + 08a54c0 commit a3d04b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

snapshotter/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Read version from pyproject.toml
44
with open("pyproject.toml", "r") as f:
55
pyproject = toml.load(f)
6-
__version__ = pyproject["tool"]["poetry"]["version"]
6+
__version__ = "v" + pyproject["tool"]["poetry"]["version"]
77

88
if __name__ == "__main__":
9-
print(f"Snapshotter Lite v2 version: v{__version__}")
9+
print(f"Snapshotter Lite v2 version: {__version__}")

0 commit comments

Comments
 (0)