Remove configurable APP_VERSION and define it in code
All checks were successful
PostgreSQL Compatibility Matrix / PG14 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG15 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG16 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG17 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG18 smoke (push) Successful in 8s
All checks were successful
PostgreSQL Compatibility Matrix / PG14 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG15 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG16 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG17 smoke (push) Successful in 8s
PostgreSQL Compatibility Matrix / PG18 smoke (push) Successful in 8s
The APP_VERSION variable is no longer configurable via the `.env` file or environment settings. Instead, the version is now hardcoded in `backend/app/core/config.py` as `NEXAPG_VERSION` and accessed through a property. This change simplifies version control and ensures consistency across deployments.
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
# ------------------------------
|
||||
# Display name used in API docs/UI.
|
||||
APP_NAME=NexaPG Monitor
|
||||
# Manual version string shown in Service Information page.
|
||||
APP_VERSION=0.1.0
|
||||
# Runtime environment: dev | staging | prod | test
|
||||
ENVIRONMENT=dev
|
||||
# Backend log level: DEBUG | INFO | WARNING | ERROR
|
||||
|
||||
Reference in New Issue
Block a user