I create the name for my installer using git describe:
git describe --long --tags --always --match SOG*
which gives me something like: SOG-6.0.1-705-g15967d1
and
git rev-parse --abbrev-ref HEAD gives me the current branch name (e.g. development)
After some string operation I end up with the installer name:
sog-development-desktop-x64-b705
It would be nice to add this name automatically as a comment to the task.
This would help my colleagues to find out if a task is deployed or not. Of course we do not create an installer for every commit so sog-development-desktop-x64-b705 may never be build but one can easily find out that the task is not resolved in sog-development-desktop-x64-b704