New release fail

I’m not sure what’s happening, but I’m in trouble adding a release associated to an existing label… the error I’m getting is “Il ramo (branch) di destinazione non esiste.” which means that the destination branch does not exist…

At first, I though that it was because the master/main named convention… but it’s not… even after renaming the master branch as main in both remote and local repo, I’m still getting the error.

The “main” branch is there and I can see that the label “v0.0.1” is also pointing to the right commit, but when I try to create a release using “v0.0.1” as tag-name and “v0.0.1” as title, I’m getting an error.

This happen in general when I lately create a label pointing to an existing commit and then I try to add a release using the label.

    Best Regards

          Giampaolo