All checks were successful
Chore App Build, Test, and Push Docker Images / build-and-push (push) Successful in 2m6s
fix: update login token expiration to 62 days chore: bump version to 1.0.5RC1 test: add isParentPersistent to LoginButton.spec.ts refactor: rename Assign Tasks button to Assign Chores in ParentView.vue refactor: rename Assign Tasks to Assign Chores in TaskAssignView.vue feat: add stay in parent mode checkbox and badge in LoginButton.vue test: enhance LoginButton.spec.ts with persistent mode tests test: add authGuard.spec.ts for logoutParent and enforceParentExpiry feat: implement parent mode expiry logic in auth.ts test: add auth.expiry.spec.ts for parent mode expiry tests chore: create template for feature specs
13 lines
383 B
Python
13 lines
383 B
Python
# python
|
|
# file: config/version.py
|
|
import os
|
|
|
|
BASE_VERSION = "1.0.5RC1" # 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
|