Skip to content

The tag will disappear if a draft release has been created with it #21262

Closed
@wolfogre

Description

@wolfogre

Description

In most cases, a draft release has no tag related to it, see #15058 (comment) .

However, if I did create a draft release with an existing tag, the tag will disappear.

Gitea Version

main@ec0a06e52

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

1. Push a tag, and everything is OK.

image

2. Create a draft release with the tag.

image

3. You can see the new draft release, but the tag is gone.

image

image

4. Delete the draft release, and both the release and tag are gone.

image

image

5. However, the tag actually exists.

image

Git Version

No response

Operating System

No response

How are you running Gitea?

a command-line.

Database

MySQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions