Skip to content

Commit 8532e14

Browse files
authored
Update version.py
1 parent 7b85818 commit 8532e14

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

netbox_floorplan/version.py

+18-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
__version__ = "0.4.1"
1+
#!/usr/bin/env python
2+
"""Version stamp."""
3+
4+
# These properties are injected at build time by the build process.
5+
6+
__commit_hash__ = "unknown"
7+
__track__ = "dev"
8+
__version__ = "0.0.0"
9+
10+
11+
def version_display():
12+
"""Display the version, track and hash together."""
13+
return f"v{__version__}-{__track__}-{__commit_hash__}"
14+
15+
16+
def version_semver():
17+
"""Semantic version."""
18+
return __version__

0 commit comments

Comments
 (0)