I’m trying to create a release using octo.exe.
I have pushed a package to my Octopus NuGet repository and can see it there.
I’m using the following command:
.\Tools\Octopus\Octo.exe create-release --force --project “MyProjectName” --server https://myserver.com/octopus/ --apiKey XXXXXXX
The docs tell me that if I do not specify a version number, it will use the latest availble pacakge, but I get the error:
“A version number was not specified and could not be automatically selected.”
Octopus Deploy Command Line Tool, version 220.127.116.11
Handshaking with Octopus server: https://myserver.com/octopus/
Handshake successful. Octopus version: 18.104.22.1680; API version: 3.0.0
Finding project: MyProjectName
Finding deployment process for project: MyProjectName
Finding release template…
Resolving NuGet package versions…
Finding latest NuGet package for step: Deploy website
A version number was not specified and could not be automatically selected.
Exit code: -1