Files
chore/backend/config/version.py
Ryan Kegel e9f4343426
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Failing after 5m43s
added fixes for bug plan 1.0.6RC01
2026-03-24 15:31:57 -04:00

13 lines
384 B
Python

# python
# file: config/version.py
import os
BASE_VERSION = "1.0.6RC02" # 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