[Qbs] Include current git branch in installation directory

richard at weickelt.de richard at weickelt.de
Fri Nov 9 13:49:12 CET 2018

I think You can use the Probe item for that purpose. 


You would combine it with Process service. Search for gitProbe in the following file to get inspired:



On Friday, 9 November 2018, Christian Gudrian wrote:
> Am 09.11.2018 um 12:38 schrieb Christian Kandeler:
> > I'm afraid I don't understand this. Can you elaborate? In particular, 
> > what do you mean by "directory that contains the current git branch"?
> Given a working copy of the branch "v1.0" I would like Qbs to prefix all 
> installation paths with "v1.0/".
> Christian
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qbs

More information about the Qbs mailing list