When the release-registry already contains a symlink for the specified version craft fails to publish the release. I would expect that it overrides the symlink with the JSON for the specified release.
Steps to reproduce with sentry-cocoa:
craft prepare 5.1.10
- Create a symlink for 5.1.10.json in release-registry for cocoa.
craft publish 5.1.10 --target registry
- Craft fails with
Error: Version file for "5.1.10" already exists. Aborting.

This is related to getsentry/sentry-release-registry#27
When the release-registry already contains a symlink for the specified version craft fails to publish the release. I would expect that it overrides the symlink with the JSON for the specified release.
Steps to reproduce with sentry-cocoa:
craft prepare 5.1.10craft publish 5.1.10 --target registryError: Version file for "5.1.10" already exists. Aborting.This is related to getsentry/sentry-release-registry#27