Use the git commit hash as the app version

- Spec header, status pill and footer now document '<env> @ <hash>'
  instead of invented release numbers
- Backend settings expose GIT_COMMIT_HASH / APP_ENV / APP_VERSION,
  mirroring the original app
- Frontend bakes the short hash in at build time and shows it in the
  top bar
This commit is contained in:
2026-09-17 08:12:54 -05:00
parent 3f353307cf
commit 3c66629ed2
5 changed files with 51 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
declare const __GIT_COMMIT_HASH__: string;
export const GIT_COMMIT_HASH = __GIT_COMMIT_HASH__;
export const APP_ENV = import.meta.env.DEV ? "dev" : "prod";
export const APP_VERSION = `${APP_ENV} @ ${GIT_COMMIT_HASH}`;