Closed
Description
When the release is deleted via the web interface the tag is deleted
When the release is deleted via the API the tag is not deleted
The DeleteReleaseByID function already has an argument to either delete or not the tag.
that argument is set to true when called from the web interface
Line 353 in 3878e98
and to false when called from the API
gitea/routers/api/v1/repo/release.go
Line 333 in 3878e98
that'd be nice we could decide wether or not we want to delete the tag whith the API call
Thanks in advance