From https://octopus.com/docs/api-and-integration/octo.exe-command-line/creating-releases :
Specifying the package version
For each step that has a package, the version is determined in the following order:
The step name matches a --packageVersion parameter or a file filename found by --packagesFolder
The package id matches a --packageVersion parameter or a file found by --packagesFolder
The value from the --package parameter"
Is this correct? It seems that 1) the packageversion parameter does not accept either a step name or package id, and 2) the package parameter does not accept a packageid, only a step name.
I’m trying to script the release creation using only a set of explicit packageids and versions. I’d really rather not bake knowledge of the step names into upstream processes. Is there a way to accomplish this?