I'm using a custom cake build script w/ MyGet. I had previously used a line like so on AppVeyor
var version = AppVeyor.IsRunningOnAppVeyor ? AppVeyor.Environment.Build.Version : "0.0.1";
to get a version number from the build CI platform. However on MyGet I have a MyGet.IsRunningOnMyGet but I don't seem to have a build version number or environment object in MyGet . Any suggestions on how I should be getting the build number so I can pass it to the 'pack' command further down in the cake script?