All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m25s
- Updated BASE_VERSION in version.py to 1.0.15. - Added ROUTINES-IMPLEMENTATION-SUMMARY.md detailing the implementation status, phases, and test coverage for the new routines feature. - Created e2e-routines-test-plan.md outlining the end-to-end test strategy for the routines feature. - Introduced plan-routinesFeature.prompt.md to summarize the design and implementation plan for the routines feature.
13 lines
381 B
Python
13 lines
381 B
Python
# python
|
|
# file: config/version.py
|
|
import os
|
|
|
|
BASE_VERSION = "1.0.15" # 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
|