I found this question, which is similar –
How do I automatically set the version of my Inno Setup installer according to my application version? – setting installer version based off application version. I want to set based off the git describe
command.
I did try the help described in the link I attached, however my version appears blank when I adapt the example code into mine. I don't know how to set this version in the executable – which is why I want to grab it from git
. Seems either git
or the executable are good places to grab the version, unless someone can describe otherwise for me. If setting the executable version is better, how do I do that?
My question: How do I automatically set the version of my Inno Setup installer according to the latest git describe
command?