Files
chore/backend/config/version.py
Ryan Kegel ec4912aa4a
All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m24s
feat: update version to 1.0.16 and modify user authentication cookies
2026-05-25 13:08:13 -04:00

13 lines
381 B
Python

# python
# file: config/version.py
import os
BASE_VERSION = "1.0.16" # update manually when releasing features
def get_full_version() -> str:
"""
Return semantic version with optional Jenkins build metadata, e.g. 1.2.3-456.
"""
build = os.environ.get("BUILD_NUMBER") or os.environ.get("APP_BUILD")
return f"{BASE_VERSION}-{build}" if build else BASE_VERSION