I’ve been using octo.exe from TeamCity and am trying to set package versions using “–package packageName:version” (or step name , either way the problem is the same)
I have no problems when the step is a “Deploy package” step, but when its a “Run a Powershell script” step that references a package, the information is ignored and the latest version chosen.
I tested this out by moving my script (with a minor change being a different variable for the package installation directory) from a “Run a Powershell script” that referenced a package to a “Deploy package” step with post-deploy script. A workaround of sorts, but won’t be possible for any script that references more than one package.
Steve Marsh