Skip to content

Feature/version and commit hash#44

Open
CodeWithMa wants to merge 2 commits into
devfrom
feature/version-and-commit-hash
Open

Feature/version and commit hash#44
CodeWithMa wants to merge 2 commits into
devfrom
feature/version-and-commit-hash

Conversation

@CodeWithMa

Copy link
Copy Markdown
Owner

No description provided.

Inject APP_COMMIT_HASH and APP_VERSION at build time via Angular's define
option, then display them in a new About section on the Settings page.

- Add define defaults in angular.json (dev: "dev"/"0.0.0")
- Add ImportMeta type declarations in src/env.d.ts
- Add commitHash/appVersion to all environment files
- Add About card showing version and short commit hash in Settings
- Update CI workflow to pass --define flags with github.sha
- Update Dockerfile with COMMIT_HASH build arg
- Update docker-compose.prod.yml to pass build arg
- Replace node -e with bun -e in deploy-pages.yml for consistency
- Add beforeEach/afterEach to safely save/restore environment in test
- Remove inline cleanup that would be skipped on test failure
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
watch-list Ready Ready Preview, Comment Jul 18, 2026 3:05pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant