feat: display deployment version in admin footer
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 12s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 12s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been cancelled
Workflow Lint & Validation / Lint All Workflow Files (push) Has been cancelled
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 19s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Has been cancelled
Validators (Pushes and Pull Requests) / Security & Secrets (push) Has been cancelled
Workflow Lint & Validation / Notify Lint Results (push) Has been cancelled
Workflow Lint & Validation / Validate Secrets Contract (push) Has been cancelled
Validators (Pushes and Pull Requests) / UI & Storage Validation (push) Failing after 12s
Validators (Pushes and Pull Requests) / Database & Schema Validation (push) Successful in 12s
Validators (Pushes and Pull Requests) / Notify PR Results (push) Has been cancelled
Workflow Lint & Validation / Lint All Workflow Files (push) Has been cancelled
Validators (Pushes and Pull Requests) / Core Validators & Database Setup (push) Failing after 19s
Validators (Pushes and Pull Requests) / WBS & Audit Validations (push) Has been skipped
Validators (Pushes and Pull Requests) / .NET Contracts (push) Has been skipped
Validators (Pushes and Pull Requests) / Calibration & Performance (push) Has been skipped
Validators (Pushes and Pull Requests) / Operational Report & Decision Packet (push) Has been skipped
Validators (Pushes and Pull Requests) / CI Workflow Lint (push) Has been cancelled
Validators (Pushes and Pull Requests) / Security & Secrets (push) Has been cancelled
Workflow Lint & Validation / Notify Lint Results (push) Has been cancelled
Workflow Lint & Validation / Validate Secrets Contract (push) Has been cancelled
- Add AppVersion to appsettings.Production.json in prepare-release.yml - Display version in _AdminLayout.cshtml footer via IConfiguration - Shows deployed version (e.g., v0.1.20260724.165410.7bd491e) for users Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -102,6 +102,7 @@ jobs:
|
||||
- name: Write Production Config
|
||||
run: |
|
||||
mkdir -p ./publish
|
||||
VERSION="${{ steps.metadata.outputs.version }}"
|
||||
python3 -c '
|
||||
import json
|
||||
import pathlib
|
||||
@@ -117,7 +118,8 @@ jobs:
|
||||
"LogLevel": {
|
||||
"Default": "Information"
|
||||
}
|
||||
}
|
||||
},
|
||||
"AppVersion": "'$VERSION'"
|
||||
}
|
||||
|
||||
pathlib.Path("./publish/appsettings.Production.json").write_text(
|
||||
@@ -126,7 +128,7 @@ jobs:
|
||||
)'
|
||||
|
||||
test -s ./publish/appsettings.Production.json || { echo "ERROR: appsettings.Production.json is empty"; exit 1; }
|
||||
echo "✓ Production config created (no secrets included)"
|
||||
echo "✓ Production config created (version: $VERSION)"
|
||||
|
||||
- name: Package Artifact
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user