Thanks for getting bad. Does this not work for “create-release” ??
I’ve tried with the current version, but i’m getting this error (Running it from a CI Server). When specifying a version number it works.
Octo.exe create-release --project=“TestPorj” --version=latest --deployto=“Test” --waitfordeployment --server=http://octopus:80/api --apiKey=*****
Octopus Deploy Command Line Tool, version 2.6.1.52
Handshaking with Octopus server: http://octopus:80/api
Handshake successful. Octopus version: 2.6.2.845; API version: 3.0.0
Finding project: TestPorj
Finding deployment process for project: TestPorj
Finding release template…
Resolving NuGet package versions…
Finding latest NuGet package for step: Deploy NuGet
Using version number provided on command-line.
Release plan for release: latest
Steps:
Name Version Source
1 Deploy NuGet 2015.2.30.15187 Latest available in NuGet repository
Creating release…
Error from Octopus server (HTTP 400): There was a problem with your request.
Please enter a valid SemVer version number, for example ‘1.3’ or ‘1.19.310.9000’
Sorry I kept forgetting to get back to you on this. The latest option is for deploy release, not create. When deploying we know what the latest is but we need a version specified to create one.
What are you using as your build process and I can give you some pointers to get this running.