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.”
Full output:
Octopus Deploy Command Line Tool, version 2.5.4.35
Handshaking with Octopus server: https://myserver.com/octopus/
Handshake successful. Octopus version: 2.6.5.1010; 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