I want to delete a channel, but it has releases which need to be deleted first. So, I ran octo.exe:
octo delete-releases --server=http://blah --apikey=API-blah --project="emoney databases" --channel "Roundhouse in Prod Testing" --minversion=0 --maxversion=9999
And I get this output:
Octopus Deploy Command Line Tool, version 4.6.1
Handshaking with Octopus server: http://octopus.ema.emoneyadvisor.com
Handshake successful. Octopus version: 3.5.9; API version: 3.0.0
Authenticated as: Josh Kodroff <jkodroff@emoneyadvisor.com>
Finding project: emoney databases
Finding channels: Roundhouse in Prod Testing
Finding releases for project...
Deleting version 10.3.161.341-prod
Deleting version 10.3.123.21-DEVOPS-155-allow-for
Deleting version 10.3.123.20-DEVOPS-155-allow-for
But when I go to delete the channel, I get the same message: that it cannot be deleted because it has releases. I’ve confirmed the releases are indeed still there.
Something is amiss…