We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1a7819 + 08a54c0 commit a3d04b0Copy full SHA for a3d04b0
snapshotter/version.py
@@ -3,7 +3,7 @@
3
# Read version from pyproject.toml
4
with open("pyproject.toml", "r") as f:
5
pyproject = toml.load(f)
6
- __version__ = pyproject["tool"]["poetry"]["version"]
+ __version__ = "v" + pyproject["tool"]["poetry"]["version"]
7
8
if __name__ == "__main__":
9
- print(f"Snapshotter Lite v2 version: v{__version__}")
+ print(f"Snapshotter Lite v2 version: {__version__}")
0 commit comments