compliance-trestle icon indicating copy to clipboard operation
compliance-trestle copied to clipboard

Check if python semantic release publish has support for removing/reverting tags/releases if not successful

Open AleJo2995 opened this issue 8 months ago • 2 comments

Describe the bug

Quite recently, we have experimented a few issues related to the release process. While attempting to do a deployment, we had a problem while publishing the project to PyPi. According to the error, the email used to be published (vikas´s) needed to be verified from his account to publish the package. Once the email was verified, we re-tried the deploy again but it was not possible due to the tag for the current version already existed because it was created before the package tried to be published to PyPi.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Ideally if the process fails after all, it should be handling the things created in a way that can be revertible or not affect the re run of the process.

Screenshots / Logs.

Verify email error:

image

Release tag already exists error:

image

Environment

  • OS: [e.g. iOS]
  • Python version:
  • Installed packages:

AleJo2995 avatar Jun 03 '24 22:06 AleJo2995