[Qbs] Include current git branch in installation directory
Christian Kandeler
Christian.Kandeler at qt.io
Fri Nov 9 14:39:00 CET 2018
On Fri, 9 Nov 2018 12:49:12 +0000
<richard at weickelt.de> wrote:
> I think You can use the Probe item for that purpose.
>
> https://doc.qt.io/qbs/qml-qbslanguageitems-probe.html
>
> You would combine it with Process service. Search for gitProbe in the following file to get inspired:
>
> https://github.com/qbs/qbs/blob/master/share/qbs/modules/vcs/vcs-module.qbs
We should probably just add branch information to the vcs module.
Christian
More information about the Qbs
mailing list