Please share octo.exe and powershell script to promote release between environment.
to promote latest release version - below the script
Octo promote-release --project="$ProjectName" --server="$OctopusURI"
–apiKey="$apikey" --from="INT"
–deployto=$EnvName --waitfordeployment
–deploymenttimeout=“01:00:00”
Thanks for reaching out. Promote-Release will only promote the latest release of your project. This makes me thing we could add a --releaseversion parameter to specify which version should be promoted when using that command.
You can achieve this by using Deploy-Release instead using the --deployto parameters.