At the time, my latest release number was 0.14.110. I needed to patch an earlier release so I created 0.14.93-beta which had all of the package version from 0.14.93 plus my change to the deployment process. (side note: when creating releases it would be nice to have an option to select all of the package versions from an earlier release).
At this point the automatic release creation stopped working.
The diagnostics log contains this error:
Caught exception while receiving: Octopus.Server.Communications.Packages.PackagePushedEvent
Newtonsoft.Json.JsonSerializationException: Self referencing loop detected for property ‘Identity’ with type ‘Octopus.Platform.Web.Security.OctopusPrincipal’. Path ‘Body.User’.
When I tried to manually create a release, the default release number was 0.14.94 which had already been used. I changed this to 0.14.111 and created the release. Now the automatic release creation is working again.
It would be nice if the default release number was incremented from the highest numbered release, not the last release.