I have a couple of Nuget packages that need to go into a release.
I’m trying to create it using the following command:
octo.exe create-release --server="http://aque-build:9000/" --apikey=SECRET --project="LivePlayerDemo" --enableservicemessages --deployto="Development" --waitfordeployment --force --package=Aqueduct.MDC.Web:2.0.0.69 --package=Aqueduct.MDC.Web.Azure:2.0.0.69
Here’s the output:
@@@
Octopus Command Line Tool, version 1.1.17.62
Finding project: LivePlayerDemo
Handshaking with Octopus server: http://aque-build:9000/api
Handshake successful. Octopus version: 1.5.0.1647; API version: 2.0.0
Finding environments…
Finding steps for project…
A --version parameter was not specified, so a version number was automatically selected based on the highest package ver
sion.
Release plan for release: 2.0.0.69
Steps:
Name Version Source
1 Deploy LivePlayer Website 2.0.0.69 User specified
Creating release…
Bad request {
“errors”: [
“Please select specify a version for the following packages: 4ad60499-ac0e-40d3-8d22-355511a9e9cd”
]
}
System.Exception: Bad request {
“errors”: [
“Please select specify a version for the following packages: 4ad60499-ac0e-40d3-8d22-355511a9e9cd”
]
}
at OctopusTools.Client.OctopusSession.ReadResponse(WebRequest request)
at OctopusTools.Client.OctopusSession.Create[TResource](String path, TResource resource)
at ProjectExtensions.CreateRelease(IOctopusSession session, Project project, IList’1 latestVersions, String version,
String releaseNotes)
at OctopusTools.Commands.CreateReleaseCommand.Execute()
at OctopusTools.Infrastructure.CommandProcessor.Process(String[] args)
@@@
Any ideas?
Thanks,
Neil