Implement git commit hash tracking for build display
All checks were successful
Build and Release / build-and-release (push) Successful in 1m24s

- Add get_git_commit() method to read /var/lib/cm-dashboard/git-commit
- Replace NixOS build version with actual git commit hash
- Show deployed commit hash as 'Build:' value for accurate tracking
- Enable verification of which exact commit is deployed per host
- Update version to 0.1.42
This commit is contained in:
2025-10-29 15:29:02 +01:00
parent fc6b3424cf
commit c8f800a1e5
5 changed files with 27 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "cm-dashboard"
version = "0.1.41"
version = "0.1.42"
edition = "2021"
[dependencies]