Pogues
Pogues copied to clipboard
Display the current version and git reference
Hi there!
It would be interesting to have the application current version and / or git or GitHub reference (i'm thinking tags here) somewhere in the deployed application (header or footer).
What about that kind of solution using Webpack ?
CRA will replace Webpack custom config soon (branch dev-cra is pretty ready to be merged into master).
A simple way to display is to import directly from package.json into the dedicated component:
import { version } from '../*/package.json';
Nice, i'll wait for this version, and maybe i'll propose a PR. 😄
Any timing for the merge ?
Back-end version can be part of this too (via a specific API call)
This can be displayed in the header:
⬆️ A simple enhancement: add a link to the version tag directing to the release note (for example: https://github.com/InseeFr/Pogues/releases/tag/1.5.4)