packer-builder-vsphere
packer-builder-vsphere copied to clipboard
Builder Version
Hi,
I'm about there using your builder to provision a template and works great so nice work...
just trying to add versioning info and notice I cant get the notes field to work - that then led to searches that say download releases from teamcity - which is fine.. but how do I determine the version of the exe on my machine? You arent poplulating the properties on the exe, if I try running the plugin it says it should be executed from packer.. how do I do this?
It would also be nice in hindsight to output the version of packer and the builders etc used into the release notes for my build too if I can get these :)
Cheers
David
I've just wasted some time (my own fault - not complaining!) working on the wrong builder version when I'd misread the file-size on disk (Windows reports 2 file sizes - size on disk and file size - I have no idea why), and thought I had the correct version. If you try to run the builder from the command-line, it warns you that the file should be run by packer; could the version number be added to that message, or printed if --version is given?
I'm guessing this is a no?
looping back around as I'm still trying to generate the info as part of our CI build internally..
Would it be possible to do something like this project allows as part of your build process?
https://github.com/josephspurrier/goversioninfo
I can raise a PR if I can get it to work if you dont have time (Never tried GO!)
Thanks in anticipation 😁