Open nichtich opened 10 months ago
The develop branch now contains functionality to show version number (current git tag) or branch and commit in the footer, please try out for testing. If the application is served as www-data
or from Docker, the direct access to git will likely not work (see install note in README.md). In this case the data is read from local file version.ini
, created by composer version
(automatically called after composer install
and as part of composer release
). For releasing, the version number has to be set manually with git tag
.
This should craft a new release from current develop branch, with version number:
git tag v0.7.1; composer release
Without tagging, the branch and commit hash is shown instead.
As discussed at https://github.com/pkiraly/qa-catalogue-web/issues/142#issuecomment-1820360386 every change to the
main
branch should result in a new version number (git tag). Questions to decide on:vX.y.Z
orX.Y.Z
For 3, a script like this would help:
This information could be written into a local file and read to be displayed in the UI.