Files
Christian Krakau-Louis 03b982e7c2 Initial clean commit
2025-05-13 08:59:02 +00:00

27 lines
779 B
Python

"""
Version information for the Quizzical Beats application.
This module provides version details that can be displayed in both CLI and UI.
"""
# Version information
VERSION_INFO = {
"version": "1.7.0",
"release_name": "Bulletproof Backups",
"release_date": "2025-05-07",
"build_number": "20250507001"
}
def get_version_str(include_build=False):
"""
Return a formatted version string.
Args:
include_build: Whether to include the build number
Returns:
str: Formatted version string
"""
if include_build:
return f"v{VERSION_INFO['version']} ({VERSION_INFO['release_name']}) - Build {VERSION_INFO['build_number']}"
else:
return f"v{VERSION_INFO['version']} ({VERSION_INFO['release_name']})"